Skip to content

Commit

Permalink
Simplify a conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Aug 20, 2013
1 parent b769505 commit 9598870
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/utility/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ else
if (( $+commands[xclip] )); then
alias pbcopy='xclip -selection clipboard -in'
alias pbpaste='xclip -selection clipboard -out'
fi

if (( $+commands[xsel] )); then
elif (( $+commands[xsel] )); then
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
fi
Expand Down

0 comments on commit 9598870

Please sign in to comment.