1
0
Fork 0

Replacing Mac-specific terms with more generic ones

pull/36/head
Paul Gideon Dann 13 years ago
parent a6fb92abc9
commit d5cb1e9f0f

@ -67,7 +67,7 @@ alias rm='nocorrect rm -i'
alias scp='nocorrect scp' alias scp='nocorrect scp'
alias type='type -a' alias type='type -a'
# Mac OS X # Desktop Environment integration
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
alias o='open' alias o='open'
alias get='curl --continue-at - --location --progress-bar --remote-name' alias get='curl --continue-at - --location --progress-bar --remote-name'
@ -76,18 +76,18 @@ else
alias get='wget --continue --progress=bar' alias get='wget --continue --progress=bar'
if (( $+commands[xclip] )); then if (( $+commands[xclip] )); then
alias pbcopy='xclip -selection clipboard -in' alias clipcopy='xclip -selection clipboard -in'
alias pbpaste='xclip -selection clipboard -out' alias clippaste='xclip -selection clipboard -out'
fi fi
if (( $+commands[xsel] )); then if (( $+commands[xsel] )); then
alias pbcopy='xsel --clipboard --input' alias clipcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output' alias clippaste='xsel --clipboard --output'
fi fi
fi fi
alias pbc='pbcopy' alias cbc='clipcopy'
alias pbp='pbpaste' alias cbp='clippaste'
# Top # Top
if (( $+commands[htop] )); then if (( $+commands[htop] )); then

Loading…
Cancel
Save