Move __ps1 call from .bash_profile to ps1.bashrc.
[profile.git] / .bash_profile
index 61a04b5..39276b9 100644 (file)
@@ -1,4 +1,4 @@
-if $(tty -s) || [ "${0:0:1}" = "-" -o "$1" = "force" ]; then
+if tty -s || [ "${0:0:1}" = "-" -o "$1" = "force" ]; then
   # Remember if nocaseglob was on.
   shopt -q nocaseglob
   nocg=$?
@@ -20,5 +20,4 @@ if $(tty -s) || [ "${0:0:1}" = "-" -o "$1" = "force" ]; then
   LC_ALL=$lc_all
 
   unset lc_all nocg
-  __ps1
 fi