Don't force __ps1 to be called from .bash_profile. Anyone cloning the
repository should be free to discard the prompt changes.
LC_ALL=$lc_all
unset lc_all nocg
- __ps1
fi
#!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.
what="$(echo $2 | env LANG= LC_ALL= LC_CTYPE= tr '[:upper:]' '[:lower:]')"
eval __ps1_$what=$action
}
+
+__ps1