mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-24 16:11:57 +00:00
wizard: recognize source -- ~.p10k.zsh
in .zshrc
This commit is contained in:
parent
174ce9bf01
commit
211c90343f
1 changed files with 1 additions and 1 deletions
|
@ -2026,7 +2026,7 @@ function check_zshrc_integration() {
|
|||
local h9='"$ZDOTDIR"/.p10k.zsh'
|
||||
local h10='$POWERLEVEL9K_CONFIG_FILE'
|
||||
local h11='"$POWERLEVEL9K_CONFIG_FILE"'
|
||||
if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##($f1|$f2|$f3|$f4|$g1|$h0|$h1|$h2|$h3|$h4|$h5|$h6|$h7|$h8|$h9|$h10|$h11)(|[[:space:]]*|'#'*)} ]]; then
|
||||
if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##(|--[[:space:]]##)($f1|$f2|$f3|$f4|$g1|$h0|$h1|$h2|$h3|$h4|$h5|$h6|$h7|$h8|$h9|$h10|$h11)(|[[:space:]]*|'#'*)} ]]; then
|
||||
zshrc_has_cfg=1
|
||||
fi
|
||||
local pre='${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh'
|
||||
|
|
Loading…
Reference in a new issue