mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 16:39:14 +00:00
use $PWD
This commit is contained in:
parent
afb7a6e9c1
commit
d2dff487e0
|
@ -42,7 +42,7 @@ fi
|
||||||
if [ "$3" ]; then
|
if [ "$3" ]; then
|
||||||
if [ "$entry" ]; then
|
if [ "$entry" ]; then
|
||||||
case "$entry" in
|
case "$entry" in
|
||||||
/*) fullpath="${2}/$entry" ;;
|
/*) fullpath="$PWD/$entry" ;;
|
||||||
*) fullpath="$entry" ;;
|
*) fullpath="$entry" ;;
|
||||||
esac
|
esac
|
||||||
if [ "-" = "$3" ]; then
|
if [ "-" = "$3" ]; then
|
||||||
|
|
Loading…
Reference in a new issue