Load profile in sh emulation mode.

This commit is contained in:
David Tomaschik
2022-10-18 13:52:53 -07:00
parent d7cc6fd508
commit cb3ba03c49

View File

@@ -66,8 +66,8 @@ zstyle ':completion::complete:*' use-cache on
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache" zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache"
# .profile is universal # .profile is universal
. /etc/profile emulate sh -c '. /etc/profile'
. ~/.profile emulate sh -c '. ~/.profile'
# Deduplicate the path # Deduplicate the path
typeset -U path typeset -U path