Browse Source

Exit if dir is unchanged

master
Arun Prakash Jana 4 years ago
parent
commit
877f7b4d62
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      plugins/fzcd

+ 2
- 0
plugins/fzcd View File

@@ -26,6 +26,8 @@ fi
if [ -n "$sel" ]; then
if ! [ -d "$sel" ]; then
sel=$(dirname "$sel")
elif [ "$sel" = "." ]; then
exit 0
fi

# Remove "./" prefix if it exists


Loading…
Cancel
Save