zshrc: improve alias
This commit is contained in:
parent
252871065a
commit
c3cb3a92a5
2
zshrc
2
zshrc
|
@ -92,7 +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" }
|
||||
rgw() { SEARCH_TERM=$1; shift; rg -g '!vendor/' "\b$SEARCH_TERM\b" $* }
|
||||
alias tm="tmux attach"
|
||||
alias tmd="tmux new -s default -c $HOME || tmux attach -t default"
|
||||
alias tms="tmuxsess"
|
||||
|
|
Loading…
Reference in New Issue