Simplify a conditional
This commit is contained in:
parent
b769505857
commit
959887013d
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue