Skip to content

Instantly share code, notes, and snippets.

@ashleysommer
Created January 2, 2024 23:24
Show Gist options
  • Save ashleysommer/90cccbb9e045805347c0542cef5ba574 to your computer and use it in GitHub Desktop.
Save ashleysommer/90cccbb9e045805347c0542cef5ba574 to your computer and use it in GitHub Desktop.
/etc/zsh/zprofile
# /etc/zsh/zprofile: system-wide .zprofile file for zsh(1).
#
# This file is sourced only for login shells (i.e. shells
# invoked with "-" as the first character of argv[0], and
# shells invoked with the -l flag.)
#
# Global Order: zshenv, zprofile, zshrc, zlogin
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.zsh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
export SYSTEM_ZPROFILED_LOADED=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment