summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorTimo Wilken2022-12-08 23:52:23 +0100
committerTimo Wilken2022-12-08 23:52:23 +0100
commitc50c7fdf2561a16077274cbd243cfd6255beaaac (patch)
treee49d345654c21a623441943e34c4e5b0e3fd62f4 /zshrc
parente4e53acb32f370c908069f95a02d415cf4a57c1f (diff)
Make zsh find extra completions
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index abb8f066..47bbc591 100644
--- a/zshrc
+++ b/zshrc
@@ -1,3 +1,11 @@
+# Zsh configuration -*- sh -*-
+
+# Load functions from Guix profile, where packages like
+# zsh-completions are installed.
+if [ -d ~/.guix-home/profile/share/zsh/site-functions ]; then
+ fpath+=(~/.guix-home/profile/share/zsh/site-functions)
+fi
+
zmodload zsh/attr
zmodload -F zsh/cap b:cap
zmodload zsh/datetime