summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-09-06 12:46:30 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-09-06 12:46:30 +0300
commit5886154bb14965f59d26f349b97e2c5e9104bf93 (patch)
tree5b71db0f54719e5df40b336e8e63850836c3f819
parentef6f90f598dcce54b9a96f2aae317a20cab541e9 (diff)
drop q+ as it it's not supported by old shells
-rwxr-xr-xinternal/wizard.zsh7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 893fa243..9e5d4b8f 100755
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1349,11 +1349,10 @@ function write_zshrc() {
local f0=$__p9k_cfg_path
local f1=${(q)f0}
local f2=${(q-)f0}
- local f3=${(q+)f0}
- local f4=${(qq)f0}
- local f5=${(qqq)f0}
+ local f3=${(qq)f0}
+ local f4=${(qqq)f0}
local g1=${${(q)__p9k_cfg_path}/#(#b)${(q)HOME}\//'~/'}
- if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##($f1|$f2|$f3|$f4|$f5|$g1)(|[[:space:]]*|'#'*)} ]]; then
+ if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##($f1|$f2|$f3|$f4|$g1)(|[[:space:]]*|'#'*)} ]]; then
flowing +c No changes have been made to %4F$__p9k_zshrc_u%f because it already sources %2F$__p9k_cfg_path_u%f.
return
fi