From 923144ace6db5b1eef36ec11600e33bf936cef06 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 12 Jul 2022 13:47:33 +0200 Subject: [PATCH] zsh: convenience alias --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index 8fd8882..9b29aec 100644 --- a/.zshrc +++ b/.zshrc @@ -107,6 +107,7 @@ alias tree='exa --tree' alias v=vgrep alias ve='env EDITOR= vgrep -s' alias xc=clip +alias w="history -1 | sed -e 's/[0-9]* //' | xargs viddy -n1" ## ripgrep export RIPGREP_CONFIG_PATH=${HOME}/.config/rg/rg.conf