diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-08-26 13:05:42 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-08-26 13:05:42 +0300 |
commit | b3abfc089a86f6a4e71d91c46361f3f56acd6b9f (patch) | |
tree | 34a28180aea216944628be709e9315a7a01af7c6 /internal/p10k.zsh | |
parent | 06ddd559227ae502bf2995280a6f0fb3979f770d (diff) |
fix detection of awesome-mapped-fontconfig in the wizard
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-x | internal/p10k.zsh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 0c9948f8..ab1db6f6 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -3243,7 +3243,14 @@ _p9k_precmd() { if (( !__p9k_configured )); then __p9k_configured=1 if [[ "${parameters[(I)POWERLEVEL9K_*]}" == (POWERLEVEL9K_MODE|) ]] && _p9k_can_configure -q; then - if $__p9k_root_dir/internal/wizard.zsh -d $__p9k_root_dir; then + ( + local p=("${(@)parameters[(I)AWESOME_*|CODEPOINT_*]}") + if (( $#p )); then + typeset -x -- $p + fi + $__p9k_root_dir/internal/wizard.zsh -d $__p9k_root_dir -f $awesome + ) + if (( !$? )); then source $__p9k_cfg_path _p9k_must_init fi |