1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

shorten text added to ~/.zshrc and print a banner at the end of the wizard

This commit is contained in:
romkatv 2019-07-30 11:06:04 +02:00
parent dd5fb35c29
commit 4c08fa0621

View file

@ -813,8 +813,7 @@ function write_zshrc() {
fi
local comments=(
"# You can customize your prompt by editing $__p9k_cfg_path_u."
"# To run Powerlevel10k configuration wizard, type 'p9k_configure'."
"# To customize prompt, run \`p9k_configure\` or edit $__p9k_cfg_path_u."
)
print -lr -- "" $comments "source $__p9k_cfg_path_u" >>$__p9k_zshrc
@ -883,6 +882,9 @@ fi
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 ""
} "$@"