From 7cff333f6eeab2dcf5d33f9b8f1716b83b6e96d0 Mon Sep 17 00:00:00 2001 From: He4eT Date: Fri, 10 Nov 2023 13:29:40 +0100 Subject: [PATCH] zsh: improved yank for urxvt --- root/.zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/root/.zshrc b/root/.zshrc index 40ed248..7ce8ca4 100644 --- a/root/.zshrc +++ b/root/.zshrc @@ -61,4 +61,9 @@ alias summonable='docker exec -it ollama ollama list' ## Copy from terminal # See .XResources -alias ccc='vim -c "norm G" /tmp/urxvt-screen-content.txt' +alias last-terminal-screenshot='vim -c "norm G" /tmp/urxvt-screen-content.txt' +alias yank='\ + xdotool keydown shift keydown Print ;\ + xdotool keyup Print keyup shift ;\ + last-terminal-screenshot ;\ +'