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