aboutsummaryrefslogtreecommitdiff
path: root/internal/configure.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-08-26 13:05:42 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-08-26 13:05:42 +0300
commitb3abfc089a86f6a4e71d91c46361f3f56acd6b9f (patch)
tree34a28180aea216944628be709e9315a7a01af7c6 /internal/configure.zsh
parent06ddd559227ae502bf2995280a6f0fb3979f770d (diff)
fix detection of awesome-mapped-fontconfig in the wizard
Diffstat (limited to 'internal/configure.zsh')
-rw-r--r--internal/configure.zsh8
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/configure.zsh b/internal/configure.zsh
index d7a253d9..c04ad413 100644
--- a/internal/configure.zsh
+++ b/internal/configure.zsh
@@ -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
}