X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=e17473891efcdf3cb4e6d91c46b3278e8cef40d9;hb=64e73c7c9b6ae49d19515b5737fe227f40a64a21;hp=798dacf1093c39be4b16c95b8fe964f4a780c3e5;hpb=b19aff368e8114dd44bbd7e306b0946f060e3051;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index 798dacf..e174738 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