summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-01-20 17:12:12 +0200
committerDylan Araps <dylan.araps@gmail.com>2019-01-20 17:12:12 +0200
commit4e94202cc94822f8abb5e4b025159eb170c83be9 (patch)
treebf1e3492d8f6bfe3e950d13ef9eedb146506f16d
parentbf83634c15c9c9b45e4f79aec2f3e86891809409 (diff)
general: Fix issue with going to parent dir from /1.5
-rwxr-xr-xfff2
1 files changed, 1 insertions, 1 deletions
diff --git a/fff b/fff
index 6727473..59a4e28 100755
--- a/fff
+++ b/fff
@@ -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