Remove duplicate alias definitions
This commit is contained in:
parent
622e7b117b
commit
b769505857
@ -104,15 +104,12 @@ alias sl='ls' # I often screw this up.
|
|||||||
# Mac OS X Everywhere
|
# Mac OS X Everywhere
|
||||||
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'
|
|
||||||
elif [[ "$OSTYPE" == cygwin* ]]; then
|
elif [[ "$OSTYPE" == cygwin* ]]; then
|
||||||
alias o='cygstart'
|
alias o='cygstart'
|
||||||
alias get='wget --continue --progress=bar --timestamping'
|
|
||||||
alias pbcopy='tee > /dev/clipboard'
|
alias pbcopy='tee > /dev/clipboard'
|
||||||
alias pbpaste='cat /dev/clipboard'
|
alias pbpaste='cat /dev/clipboard'
|
||||||
else
|
else
|
||||||
alias o='xdg-open'
|
alias o='xdg-open'
|
||||||
alias get='wget --continue --progress=bar --timestamping'
|
|
||||||
|
|
||||||
if (( $+commands[xclip] )); then
|
if (( $+commands[xclip] )); then
|
||||||
alias pbcopy='xclip -selection clipboard -in'
|
alias pbcopy='xclip -selection clipboard -in'
|
||||||
@ -128,6 +125,13 @@ fi
|
|||||||
alias pbc='pbcopy'
|
alias pbc='pbcopy'
|
||||||
alias pbp='pbpaste'
|
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
|
# Resource Usage
|
||||||
alias df='df -kh'
|
alias df='df -kh'
|
||||||
alias du='du -kh'
|
alias du='du -kh'
|
||||||
|
Reference in New Issue
Block a user