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

Commit

Permalink
general: Fix issue with going to parent dir from /
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jan 20, 2019
1 parent bf83634 commit 4e94202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fff
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ key() {
open "$PWD"

# If '$PWD' is '/', do nothing.
elif [[ $PWD != / ]]; then
elif [[ $PWD && $PWD != / ]]; then
find_previous=1
open "${PWD%/*}"
fi
Expand Down

0 comments on commit 4e94202

Please sign in to comment.