dotfiles/.config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh
Marty Oehme 949e071b97 Fix .. command to go up to parent directory
Fixed the quick-style .. to go up a directory. Use `cd ..` to enable the
fzf enabled selection if you quickly need to go up multiple directories
instead.
2019-06-17 09:17:17 +02:00

4 lines
252 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"