X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=fcfa0a4dfb6ccbae96aeb4c31f5305f777491aad;hb=20dba32a51b3f2d58623ae1151987aca7a9b5f16;hp=d390e56cbc8cd5f51e0d0ba551b9d377e67eac32;hpb=559f9045ae05e457c7eb4b6c684aa9651b98971a;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index d390e56..fcfa0a4 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -121,6 +121,12 @@ 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 +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).