Skip to content

Instantly share code, notes, and snippets.

{
"projects": [{
"project": "nova"
}, {
"project": "python-novaclient"
}, {
"project": "cinder"
}, {
"project": "neutron"
}]
#!/usr/bin/env python
# Copyright 2011 Thierry Carrez <thierry@openstack.org>
# Copyright 2015 Markus Zoeller <mzoeller@de.ibm.com>
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
@markuszoeller
markuszoeller / pretty-bash.sh
Created October 5, 2016 09:26
colored bash prompt
#!/usr/bin/env bash
# make the bash more pretty to see the input/output better
echo "" >> ~/.bashrc
echo "# prettify the bash: ">> ~/.bashrc
echo "export PS1='[\[$(tput setaf 7)\]\t \u@\h \[$(tput setaf 6)\]\w\[$(tput sgr0)\] ] \$ '" >> ~/.bashrc
source ~/.bashrc