fix detection of awesome-mapped-fontconfig in the wizard

This commit is contained in:
romkatv 2019-08-26 12:05:42 +02:00
commit b3abfc089a
3 changed files with 20 additions and 4 deletions

View file

@ -60,6 +60,12 @@ function _p9k_can_configure() {
function p9k_configure() {
emulate -L zsh && setopt no_hist_expand extended_glob
$__p9k_root_dir/internal/wizard.zsh -d $__p9k_root_dir -f || return
(
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
) || return
source $__p9k_cfg_path
}