If .zsh/functions exists, use it.
This commit is contained in:
parent
2a9c4e0f23
commit
fc3226bfed
4
zsh.nix
4
zsh.nix
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue