X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=2d31fb8c127cb0630a35888c18df02cd0e8ef1b9;hb=bdb1e0c845a6921e22d52fbff3404d5c1dfae520;hp=d390e56cbc8cd5f51e0d0ba551b9d377e67eac32;hpb=f0f576efaf276a513338c6303070740a23fea5ab;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index d390e56..2d31fb8 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -121,6 +121,11 @@ if [ -r /etc/bash_completion -a $ARCHITECTURE != "cygwin" ]; then source /etc/bash_completion fi +# Alias ping +if [ $ARCHITECTURE = "cygwin" ]; then + alias ping=$(echo $SYSTEMROOT | tr '\\' '\/')/system32/ping +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).