From 949e071b97fa62f06cc47bd6a84f352601feb39f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 17 Jun 2019 09:17:17 +0200 Subject: [PATCH] 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. --- .config/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"