aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-09 03:47:49 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-09 03:47:49 +0530
commit6ea64288bc7199fa037f9fbcb9bf748743942f3d (patch)
treeaafbc26622a57cdc7b16c97d30411836eaa3d6dd /plugins
parent12f108cac9ce5b573473904ad0ecef5535448347 (diff)
downloadnnn-6ea64288bc7199fa037f9fbcb9bf748743942f3d.tar.gz
Fix #379
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