diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-19 18:10:12 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-19 18:10:12 +0300 |
commit | 0d8a51bcf30d42dea50eb7dc3f7ee72e9a5aaae2 (patch) | |
tree | 020079757d9b9654ebc53dd26162188255fac2b4 /internal/wizard.zsh | |
parent | b35a8148285a3081725715b00bb543cfb4c9b62f (diff) | |
parent | e3743957469d508ff59c69df27b0dfcc1d1605a4 (diff) |
Merge branch 'master' into worker
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-x | internal/wizard.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 7e0ee37c..00966da7 100755 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -1410,12 +1410,12 @@ function ask_zshrc_edit() { if [[ -e $__p9k_zshrc ]]; then zshrc_content="$(<$__p9k_zshrc)" || quit -c local lines=(${(f)zshrc_content}) - local f0=$__p9k_cfg_path + local f0=$__p9k_cfg_path_o local f1=${(q)f0} local f2=${(q-)f0} local f3=${(qq)f0} local f4=${(qqq)f0} - local g1=${${(q)__p9k_cfg_path}/#(#b)${(q)HOME}\//'~/'} + local g1=${${(q)__p9k_cfg_path_o}/#(#b)${(q)HOME}\//'~/'} if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##($f1|$f2|$f3|$f4|$g1)(|[[:space:]]*|'#'*)} ]]; then zshrc_has_cfg=1 fi |