From d5cb1e9f0fd6682a0fc5e39b9f0ce07facf7bab7 Mon Sep 17 00:00:00 2001 From: Paul Gideon Dann Date: Wed, 14 Mar 2012 11:32:05 +0000 Subject: [PATCH] Replacing Mac-specific terms with more generic ones --- alias.zsh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/alias.zsh b/alias.zsh index 46683e87..f6d8aebf 100644 --- a/alias.zsh +++ b/alias.zsh @@ -67,7 +67,7 @@ alias rm='nocorrect rm -i' alias scp='nocorrect scp' alias type='type -a' -# Mac OS X +# Desktop Environment integration if [[ "$OSTYPE" == darwin* ]]; then alias o='open' alias get='curl --continue-at - --location --progress-bar --remote-name' @@ -76,18 +76,18 @@ else alias get='wget --continue --progress=bar' if (( $+commands[xclip] )); then - alias pbcopy='xclip -selection clipboard -in' - alias pbpaste='xclip -selection clipboard -out' + alias clipcopy='xclip -selection clipboard -in' + alias clippaste='xclip -selection clipboard -out' fi if (( $+commands[xsel] )); then - alias pbcopy='xsel --clipboard --input' - alias pbpaste='xsel --clipboard --output' + alias clipcopy='xsel --clipboard --input' + alias clippaste='xsel --clipboard --output' fi fi -alias pbc='pbcopy' -alias pbp='pbpaste' +alias cbc='clipcopy' +alias cbp='clippaste' # Top if (( $+commands[htop] )); then