mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-22 07:23:10 +01:00
Shows welcome only if not running in nested shell
This commit is contained in:
parent
1e06e9163c
commit
a41b2756f5
@ -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
|
||||
|
||||
welcome
|
||||
# If not running in nested shell, then show welcome message :)
|
||||
if [[ "${SHLVL}" -lt 2 ]]; then
|
||||
welcome
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user