X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=c0cf08f9d722ebbfe89923519600bdf146a63e51;hb=a9acda90df2ba4a4777fe263005a5d45ffd869e0;hp=798dacf1093c39be4b16c95b8fe964f4a780c3e5;hpb=c23f4dd59b57b338f282d419c0e5cc0f22e7e373;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index 798dacf..c0cf08f 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -78,6 +78,7 @@ else fi export VISUAL=vi +export EDITOR=vi # Terminal settings: if [ "$TERM" = "" -o \ @@ -100,7 +101,7 @@ fi umask 002 if [ "$interactive" = "true" ]; then - stty tostop intr ^C kill ^X susp ^Z erase ^H -inpck -istrip -ixany -echok -echonl + stty tostop intr ^C kill ^X susp ^Z erase ^? -inpck -istrip -ixany -echok -echonl fi # Set adm_base @@ -119,6 +120,8 @@ fi # Source bash_completion (if present) (too slow for Windows) if [ -r /etc/bash_completion -a $ARCHITECTURE != "cygwin" ]; then source /etc/bash_completion +elif [ -r /usr/local/etc/bash_completion ]; then + source /usr/local/etc/bash_completion fi # Windows aliases @@ -309,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}