dotfiles/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh

5 lines
252 B
Bash
Raw Normal View History

# 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"