Commit de2395c6 authored by Konstantin Gizdov's avatar Konstantin Gizdov Committed by Marc Cornellà
Browse files

compfix: fix check for empty string (#7674)

parent 779ff24c
......@@ -18,7 +18,7 @@ function handle_completion_insecurities() {
insecure_dirs=( ${(f@):-"$(compaudit 2>/dev/null)"} )
# If no such directories exist, get us out of here.
(( ! ${#insecure_dirs} )) && return
[[ -z "${insecure_dirs}" ]] && return
# List ownership and permissions of all insecure directories.
print "[oh-my-zsh] Insecure completion-dependent directories detected:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment