Add utility aliases for Cygwin
This commit is contained in:
parent
16aa48baeb
commit
33fd9423c2
1 changed files with 6 additions and 0 deletions
|
@ -105,6 +105,12 @@ alias sl='ls' # I often screw this up.
|
|||
if [[ "$OSTYPE" == darwin* ]]; then
|
||||
alias o='open'
|
||||
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
|
||||
alias o='xdg-open'
|
||||
alias get='wget --continue --progress=bar --timestamping'
|
||||
|
|
Loading…
Add table
Reference in a new issue