From fc3226bfed706b4de29749acc9ca2f6d6a96c753 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Mon, 7 Oct 2024 07:36:59 -0500 Subject: [PATCH] If .zsh/functions exists, use it. --- zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 ''; };