noglob git so @ and ^ work
change
commit 897b2a948784f2c3c29e4966daea02de5e0b817d
author Alpha Chen <alpha.chen@brilliant.org>
date
parent 090e3e15
diff --git a/.zshrc b/.zshrc
index 2401b4e5..60c55e4e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -156,6 +156,7 @@ fi
 # Define aliases.
 alias clear=z4h-clear-screen-soft-bottom
 (( $+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 tat='tmux new-session -As `basename $PWD | ruby -e "puts ARGF.read.strip.downcase.gsub(/[^\w]+/, ?-)"`'
 alias tree='tree -a -I .git'