From dab786b7775766e62acd77e57794d8425a5e6e35 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 13 Nov 2019 09:09:21 +0100 Subject: [PATCH 1/1] zsh/rc: prepend "--" in X alias Prevents possible interpretation of options from X selection. --- shell/zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/zsh/rc b/shell/zsh/rc index 0f6e2e0..660430c 100644 --- a/shell/zsh/rc +++ b/shell/zsh/rc @@ -855,7 +855,7 @@ alias -g S='| sort' alias -g SL='| sort | less' alias -g T='| tail' alias -g U='| uniq' -alias -g X='`xsel -p || xclip -o`' # X selection +alias -g X='-- "$(xsel -p || xclip -o)"' # X selection # Make going up directories simple. alias -g ...='../..' -- 2.43.2