aboutsummaryrefslogtreecommitdiff
path: root/internal/configure.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-26 18:54:52 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-26 18:54:52 +0300
commita9715367d4547dabaa724f9907bc971078453528 (patch)
tree9d84ab2be3a7e3a91901b68494a55d350923616e /internal/configure.zsh
parent98c614b85114b43124d5d861c3849c9b294799ff (diff)
fix prompt_char (never showed error); unify options
Diffstat (limited to 'internal/configure.zsh')
-rw-r--r--internal/configure.zsh5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/configure.zsh b/internal/configure.zsh
index a627ca6a..588dd02a 100644
--- a/internal/configure.zsh
+++ b/internal/configure.zsh
@@ -11,8 +11,6 @@ typeset -gr __p9k_zshrc_u=$__p9k_zd_u/.zshrc
typeset -gr __p9k_root_dir_u=${${${(q)__p9k_root_dir}/#(#b)${(q)HOME}(|\/*)/'~'$match[1]}//\%/%%}
function _p9k_can_configure() {
- emulate -L zsh
- setopt extended_glob no_prompt_{bang,subst} prompt_percent
[[ $1 == '-q' ]] && local -i q=1 || local -i q=0
function $0_error() {
(( q )) || print -rP "%1F[ERROR]%f %Bp10k configure%b: $1" >&2
@@ -61,8 +59,7 @@ function _p9k_can_configure() {
}
function p9k_configure() {
- emulate -L zsh
- setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst} no_aliases
+ eval $__p9k_intro
(
set -- -f
source $__p9k_root_dir/internal/wizard.zsh