X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fps1.bashrc;h=aa750a0777408178953739107dfa4adfa28dd232;hb=eb32293ac0ef5fe79c5f240b0eaa4fc3f73f81ae;hp=b65e42d8447e3c3b91a00d4ddec329ed548ae59a;hpb=e5ea7321936322231fc19d4a0ed2ff175c7c6143;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