aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/fzcd2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fzcd b/plugins/fzcd
index 443ac2d..a75d558 100755
--- a/plugins/fzcd
+++ b/plugins/fzcd
@@ -26,7 +26,7 @@ fi
if [ "$?" -eq "0" ]; then
case "$(file -bi "$sel")" in
*directory*) ;;
- *) sel=$(dirname $sel) ;;
+ *) sel=$(dirname "$sel") ;;
esac
nnn_cd "$PWD/$sel"
fi