aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/parse.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/parse.zsh b/internal/parse.zsh
index 9338fb7e..ce58ffcf 100644
--- a/internal/parse.zsh
+++ b/internal/parse.zsh
@@ -216,9 +216,9 @@ function _p9k_extract_commands() {
fi
commands+=${:-${(Q)${~token}}}
- [[ $commands[-1] == '(('*'))' ]] && commands[-1]=()
skip='^'
done
_p9k_commands+=($commands)
+ _p9k_commands=(${(u)_p9k_commands:#('(('*'))'|'`'*'`'|'$'*)})
}