noglob git so @ and ^ work

main
Alpha Chen 9 months ago
parent 090e3e15e2
commit 897b2a9487
No known key found for this signature in database

@ -156,6 +156,7 @@ fi
# Define aliases. # Define aliases.
alias clear=z4h-clear-screen-soft-bottom alias clear=z4h-clear-screen-soft-bottom
(( $+commands[eza] )) && alias ls=eza (( $+commands[eza] )) && alias ls=eza
alias git='noglob git' # so that shortcuts like @^ work
alias rake='noglob rake' # don't match on square brackets alias rake='noglob rake' # don't match on square brackets
alias tat='tmux new-session -As `basename $PWD | ruby -e "puts ARGF.read.strip.downcase.gsub(/[^\w]+/, ?-)"`' alias tat='tmux new-session -As `basename $PWD | ruby -e "puts ARGF.read.strip.downcase.gsub(/[^\w]+/, ?-)"`'
alias tree='tree -a -I .git' alias tree='tree -a -I .git'

Loading…
Cancel
Save