From 7f2abcc166887fafb33cdd2b50e811a7dcbe1d5c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 7 Apr 2015 00:17:22 +0200 Subject: [PATCH] zsh/rc: add X alias to return current X selection --- zsh/rc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/rc b/zsh/rc index 71e07dd..6bc2d3b 100644 --- a/zsh/rc +++ b/zsh/rc @@ -845,6 +845,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 # Make going up directories simple. alias -g ...='../..' -- 2.45.2