1
0
Fork 0

Remove duplicate alias definitions

pull/429/merge
Sorin Ionescu 11 years ago
parent 622e7b117b
commit b769505857

@ -104,15 +104,12 @@ alias sl='ls' # I often screw this up.
# Mac OS X Everywhere
if [[ "$OSTYPE" == darwin* ]]; then
alias o='open'
alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
elif [[ "$OSTYPE" == cygwin* ]]; then
alias o='cygstart'
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'
if (( $+commands[xclip] )); then
alias pbcopy='xclip -selection clipboard -in'
@ -128,6 +125,13 @@ fi
alias pbc='pbcopy'
alias pbp='pbpaste'
# File Download
if (( $+commands[curl] )); then
alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
elif (( $+commands[wget] )); then
alias get='wget --continue --progress=bar --timestamping'
fi
# Resource Usage
alias df='df -kh'
alias du='du -kh'

Loading…
Cancel
Save