diff --git a/zshrc b/zshrc index c397077..289b7a9 100644 --- a/zshrc +++ b/zshrc @@ -92,6 +92,7 @@ alias sysc="systemctl" alias rgo="rg -g '*.go' -g '!vendor/'" alias rgs="rg -g '*.go' -g '*.rb' -g '!vendor/' -g '!*_test.go' -g '!*_spec.rb'" alias rgt="rg -g '*_test.go' -g '*_spec.rb' -g '!vendor/'" +rgw() { rg -g '!vendor/' "\b$@\b" } alias tm="tmux attach" alias tmd="tmux new -s default -c $HOME || tmux attach -t default" alias tms="tmuxsess"