Commit 6a0af6f3 authored by Jens-Petter Salvesen's avatar Jens-Petter Salvesen

add readme file

parent 5a1f2b61
The file provided in this package will create a function called prompt_frag
The function outputs information about which openstack project is active. It also outputs information about any git repo in your current directory - dirtiness of repo and checked-out branch.
Include it in your .bashrc
source ~/code/openstack-ps1/openstack-funcs.sh
Sample PS1:
PS1="\t\[\e[32m\]\`prompt_frag\`\[\e[m\]\[\e[36m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\]:\w "
TODO: color production environment red
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment