Browse Source

Remove duplicate alias definitions

master
Sorin Ionescu 11 years ago
parent
commit
b769505857
  1. 10
      modules/utility/init.zsh

10
modules/utility/init.zsh

@ -104,15 +104,12 @@ alias sl='ls' # I often screw this up. @@ -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 @@ -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