More updates for cPanel
[clearscm.git] / rc / bash_login
index e174738..4cfce77 100644 (file)
@@ -248,7 +248,7 @@ if [ "$TERM" = "hpterm"         -o \
 fi
 
 # Miscellaneous:
-if [ -x $(type -p less) ]; then
+if type -p less > /dev/null; then
    export LESS=eiXP"?f%f :[stdin] .?pt(%pt\%):?bt(%bt bytes):-.."
    alias more="less -sr"
    export PAGER="less -sr"
@@ -312,6 +312,9 @@ for script in $(\ls ~/.rc/client_scripts); do
   fi
 done
 
+# Set prompt as client customization may have changed things
+set_prompt
+
 # Set display to local
 
 export DISPLAY=${DISPLAY:-:0}