diff options
-rwxr-xr-x | plugins/fzcd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/fzcd b/plugins/fzcd index 88f5397..9e93969 100755 --- a/plugins/fzcd +++ b/plugins/fzcd @@ -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 |