Remove duplicate alias definitions

This commit is contained in:
Sorin Ionescu 2013-08-20 08:46:37 -04:00
parent 622e7b117b
commit b769505857
1 changed files with 7 additions and 3 deletions

View File

@ -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'