This commit is contained in:
Arun Prakash Jana 2019-11-09 03:47:49 +05:30
parent 12f108cac9
commit 6ea64288bc
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -26,7 +26,7 @@ fi
if [ "$?" -eq "0" ]; then if [ "$?" -eq "0" ]; then
case "$(file -bi "$sel")" in case "$(file -bi "$sel")" in
*directory*) ;; *directory*) ;;
*) sel=$(dirname $sel) ;; *) sel=$(dirname "$sel") ;;
esac esac
nnn_cd "$PWD/$sel" nnn_cd "$PWD/$sel"
fi fi