Move __ps1 call from .bash_profile to ps1.bashrc.
[profile.git] / .profile.d / ps1.bashrc
index b65e42d..aa750a0 100644 (file)
@@ -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