dotfiles/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh
2019-03-15 14:54:09 +01:00

4 lines
246 B
Bash

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