X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=64b61470d8db5597b1177b7b9b746c38660da817;hb=8d6e59ba7728e19d42da1533b9f24d0216867899;hp=2d31fb8c127cb0630a35888c18df02cd0e8ef1b9;hpb=bdb1e0c845a6921e22d52fbff3404d5c1dfae520;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index 2d31fb8..64b6147 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -100,7 +100,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 @@ -121,9 +121,12 @@ if [ -r /etc/bash_completion -a $ARCHITECTURE != "cygwin" ]; then source /etc/bash_completion fi -# Alias ping +# Windows aliases if [ $ARCHITECTURE = "cygwin" ]; then alias ping=$(echo $SYSTEMROOT | tr '\\' '\/')/system32/ping + alias rdp=mstsc +else + alias sys=systemctl fi # We specify /home/$USER here so that when we sudo to another user