mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-01 03:51:12 +00:00
Simplify a conditional
This commit is contained in:
parent
b769505857
commit
959887013d
@ -114,9 +114,7 @@ else
|
|||||||
if (( $+commands[xclip] )); then
|
if (( $+commands[xclip] )); then
|
||||||
alias pbcopy='xclip -selection clipboard -in'
|
alias pbcopy='xclip -selection clipboard -in'
|
||||||
alias pbpaste='xclip -selection clipboard -out'
|
alias pbpaste='xclip -selection clipboard -out'
|
||||||
fi
|
elif (( $+commands[xsel] )); then
|
||||||
|
|
||||||
if (( $+commands[xsel] )); then
|
|
||||||
alias pbcopy='xsel --clipboard --input'
|
alias pbcopy='xsel --clipboard --input'
|
||||||
alias pbpaste='xsel --clipboard --output'
|
alias pbpaste='xsel --clipboard --output'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user