aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-29 18:45:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-29 18:45:53 +0300
commitd872930c5c9a0c20bb39008dee42686623e5d558 (patch)
tree9c43760608907b5f8dec9e1d5ff5268b71367448 /internal
parent742ddb459fdd57922d60c34f6fc3cc2edbf4ef13 (diff)
disable prompt_subst
Diffstat (limited to 'internal')
-rw-r--r--internal/configure.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/configure.zsh b/internal/configure.zsh
index bec9ae82..45913b1a 100644
--- a/internal/configure.zsh
+++ b/internal/configure.zsh
@@ -11,7 +11,7 @@ typeset -gr __p9k_root_dir_u=${${(q-)__p9k_root_dir}/#(#b)$HOME(|\/*)/'~'$match[
function _p9k_can_configure() {
emulate -L zsh
- setopt err_return
+ setopt err_return extended_glob no_prompt_{bang,subst} prompt_{cr,percent,sp}
[[ $1 == '-q' ]] && local -i q=1 || local -i q=0
function $0_error() {
(( q )) || print -P "%1F[ERROR]%f %Bp9k_configure%b: $1" >&2