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.
This commit is contained in:
Marty Oehme 2019-06-17 09:17:17 +02:00
parent 07c3d6e05b
commit 949e071b97

View file

@ -1,4 +1,4 @@
# Assumes enhancd is installed (via plugin) # Assumes enhancd is installed (via plugin)
# Let's you go back a directory with .. (usual cd .. behavior) # Let's you go back a directory with .. (usual cd .. behavior)
# Let's the enhancd backtrack menu appear with cd .. (usual enhancd 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"