mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 21:41:57 +00:00
shorten text added to ~/.zshrc and print a banner at the end of the wizard
This commit is contained in:
parent
dd5fb35c29
commit
4c08fa0621
1 changed files with 4 additions and 2 deletions
|
@ -813,8 +813,7 @@ function write_zshrc() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local comments=(
|
local comments=(
|
||||||
"# You can customize your prompt by editing $__p9k_cfg_path_u."
|
"# To customize prompt, run \`p9k_configure\` or edit $__p9k_cfg_path_u."
|
||||||
"# To run Powerlevel10k configuration wizard, type 'p9k_configure'."
|
|
||||||
)
|
)
|
||||||
print -lr -- "" $comments "source $__p9k_cfg_path_u" >>$__p9k_zshrc
|
print -lr -- "" $comments "source $__p9k_cfg_path_u" >>$__p9k_zshrc
|
||||||
|
|
||||||
|
@ -883,6 +882,9 @@ fi
|
||||||
|
|
||||||
write_zshrc || return
|
write_zshrc || return
|
||||||
|
|
||||||
|
print -P ""
|
||||||
|
print -P "File feature requests and bug reports at $(href https://github.com/romkatv/powerlevel10k/issues)."
|
||||||
|
print -P "Send praise and complaints to $(href https://www.reddit.com/r/zsh)."
|
||||||
print -P ""
|
print -P ""
|
||||||
|
|
||||||
} "$@"
|
} "$@"
|
||||||
|
|
Loading…
Reference in a new issue