Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4e94202

Browse files
committed
general: Fix issue with going to parent dir from /
1 parent bf83634 commit 4e94202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ key() {
544544
open "$PWD"
545545

546546
# If '$PWD' is '/', do nothing.
547-
elif [[ $PWD != / ]]; then
547+
elif [[ $PWD && $PWD != / ]]; then
548548
find_previous=1
549549
open "${PWD%/*}"
550550
fi

0 commit comments

Comments
 (0)