X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fps1.bashrc;h=aa750a0777408178953739107dfa4adfa28dd232;hb=24d37da439aa2f6ff09e5fec9c5bf1d699dd4b69;hp=b65e42d8447e3c3b91a00d4ddec329ed548ae59a;hpb=0614eba6741fe0b5f1ef54ad7478fe003ca0e613;p=profile.git diff --git a/.profile.d/ps1.bashrc b/.profile.d/ps1.bashrc index b65e42d..aa750a0 100644 --- a/.profile.d/ps1.bashrc +++ b/.profile.d/ps1.bashrc @@ -1,5 +1,4 @@ #!bash Coloured prompts. -# To use, add a call to __ps1 in your .bash_profile file. # # The prompt comprises multiple parts, some of which may be hidden by unsetting # shell variables or using the ``prompt'' function. @@ -162,3 +161,5 @@ function prompt() { what="$(echo $2 | env LANG= LC_ALL= LC_CTYPE= tr '[:upper:]' '[:lower:]')" eval __ps1_$what=$action } + +__ps1