From 6a0af6f37d1411adba32377ebc10a7030b677b3a Mon Sep 17 00:00:00 2001 From: Jens-Petter Salvesen <jeppe@redpill-linpro.com> Date: Mon, 25 Mar 2019 13:09:46 +0100 Subject: [PATCH] add readme file --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a556c6d --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +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 -- GitLab