mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix #379
This commit is contained in:
parent
12f108cac9
commit
6ea64288bc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue