diff --git a/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh b/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh index 8ee2725..5ff2815 100644 --- a/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh +++ b/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh @@ -1,4 +1,4 @@ # Assumes enhancd is installed (via plugin) # Let's you go back a directory with .. (usual cd .. behavior) # Let's the enhancd backtrack menu appear with cd .. (usual enhancd behavior) -alias ..="ENHANCD_DISABLE_DOT=1 cd .. ENHANCD_DISABLE_DOT=0" +alias ..="ENHANCD_DISABLE_DOT=1 && cd .. && ENHANCD_DISABLE_DOT=0"