diff --git a/zsh.nix b/zsh.nix index 6451ab2..77305c1 100644 --- a/zsh.nix +++ b/zsh.nix @@ -15,6 +15,10 @@ if [[ -f "$GUIX_PROFILE/etc/profile" ]]; then . "$GUIX_PROFILE/etc/profile" fi + if [[ -d "$HOME/.zsh/functions" ]]; then + export fpath=(~/.zsh/functions $fpath) + autoload -U compinit && compinit + fi fortune ''; };