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