Shows welcome only if not running in nested shell

This commit is contained in:
Alicia Sykes 2022-08-12 17:20:15 +01:00
parent 1e06e9163c
commit a41b2756f5

View File

@ -42,4 +42,7 @@ source ${zsh_dir}/helpers/misc-stuff.zsh
# Import P10k config for command prompt, run `p10k configure` or edit
[[ ! -f ${zsh_dir}/.p10k.zsh ]] || source ${zsh_dir}/.p10k.zsh
# If not running in nested shell, then show welcome message :)
if [[ "${SHLVL}" -lt 2 ]]; then
welcome
fi