diff --git a/plugins/fzcd b/plugins/fzcd index 88f53976..9e93969c 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