X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=798dacf1093c39be4b16c95b8fe964f4a780c3e5;hb=c48641da34d8e980a682818c1f627fd174bb9f07;hp=d390e56cbc8cd5f51e0d0ba551b9d377e67eac32;hpb=559f9045ae05e457c7eb4b6c684aa9651b98971a;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index d390e56..798dacf 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -121,6 +121,14 @@ if [ -r /etc/bash_completion -a $ARCHITECTURE != "cygwin" ]; then source /etc/bash_completion fi +# 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 # we will only trap logout if that user also has a ~/.rc/logout # (doubtfull).