diff options
| author | 2019-11-09 03:47:49 +0530 | |
|---|---|---|
| committer | 2019-11-09 03:47:49 +0530 | |
| commit | 6ea64288bc7199fa037f9fbcb9bf748743942f3d (patch) | |
| tree | aafbc26622a57cdc7b16c97d30411836eaa3d6dd | |
| parent | 12f108cac9ce5b573473904ad0ecef5535448347 (diff) | |
| download | nnn-6ea64288bc7199fa037f9fbcb9bf748743942f3d.tar.gz | |
Fix #379
| -rwxr-xr-x | plugins/fzcd | 2 |
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 |