diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index d213716122..91c7809021 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -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