Skip to content

Commit

Permalink
Fix #379
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Nov 8, 2019
1 parent 12f108c commit 6ea6428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fzcd
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6ea6428

Please sign in to comment.