If .zsh/functions exists, use it.

This commit is contained in:
Leonora Tindall 2024-10-07 07:36:59 -05:00
parent 2a9c4e0f23
commit fc3226bfed
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
if [[ -f "$GUIX_PROFILE/etc/profile" ]]; then if [[ -f "$GUIX_PROFILE/etc/profile" ]]; then
. "$GUIX_PROFILE/etc/profile" . "$GUIX_PROFILE/etc/profile"
fi fi
if [[ -d "$HOME/.zsh/functions" ]]; then
export fpath=(~/.zsh/functions $fpath)
autoload -U compinit && compinit
fi
fortune fortune
''; '';
}; };