From 5dac3f312d76d94febdd952b4578fb0981cc57f6 Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.dev> Date: Mon, 19 Aug 2024 21:41:42 +0100 Subject: [PATCH] Add an abbreviation for `C` to copy to the ...clipboard using `xclip` This also works in WSL. --- lib/shared/modules/zsh/abbreviations.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/shared/modules/zsh/abbreviations.zsh b/lib/shared/modules/zsh/abbreviations.zsh index 2d1a9d95..62e54ade 100644 --- a/lib/shared/modules/zsh/abbreviations.zsh +++ b/lib/shared/modules/zsh/abbreviations.zsh @@ -53,6 +53,7 @@ abbr rdci="run drush config:import -y" abbr rduli="run drush uli" abbr -g A1="| awk '{print $1}'" +abbr -g C="| xclip -sel clip" abbr -g Fj="| jq ." abbr -g Fy="| yq ." abbr -g G="| grep"