zshrc: Add alias

This commit is contained in:
Rob Watson 2022-06-10 19:08:12 +02:00
parent f7aabb50be
commit c113cdedd8
1 changed files with 1 additions and 0 deletions

1
zshrc
View File

@ -106,6 +106,7 @@ 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() { SEARCH_TERM=$1; shift; rg -g '!vendor/' "\b$SEARCH_TERM\b" $* }
alias to="tea open"
alias tm="tmux attach"
alias tmd="tmux new -s default -c $HOME || tmux attach -t default"
alias tms="tmuxsess"