Add utility aliases for Cygwin

This commit is contained in:
Nicholas Hutchinson 2013-08-03 10:32:43 +01:00
parent 16aa48baeb
commit 33fd9423c2

View file

@ -105,6 +105,12 @@ alias sl='ls' # I often screw this up.
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
alias o='open' alias o='open'
alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time' alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
elif [[ "$OSTYPE" == cygwin* ]]; then
alias open='cygstart'
alias o='open'
alias get='wget --continue --progress=bar --timestamping'
alias pbcopy='tee > /dev/clipboard'
alias pbpaste='cat /dev/clipboard'
else else
alias o='xdg-open' alias o='xdg-open'
alias get='wget --continue --progress=bar --timestamping' alias get='wget --continue --progress=bar --timestamping'