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

wizard: suppress the outro message if z4h would print its welcome

This commit is contained in:
Roman Perepelitsa 2020-10-19 14:39:01 +02:00
parent b770e6a3e5
commit 967e845819

View file

@ -2074,6 +2074,11 @@ while true; do
done
restore_screen
local -i print_outro=0
[[ $force == 1 || -z $Z4H || ! -e $Z4H/welcome || $functions[z4h] == 0 ]] && print_outro=1
if (( print_outro )); then
print
flowing +c New config: "%B${__p9k_cfg_path_u//\\/\\\\}%b."
@ -2083,13 +2088,16 @@ fi
if [[ -n $zshrc_backup ]]; then
flowing +c Backup of "%B${__p9k_zshrc_u//\\/\\\\}%b:" "%B${zshrc_backup_u//\\/\\\\}%b."
fi
fi
generate_config || return
change_zshrc || return
if (( print_outro )); then
print -rP ""
flowing +c File feature requests and bug reports at "$(href https://github.com/romkatv/powerlevel10k/issues)"
print -rP ""
fi
success=1