aboutsummaryrefslogtreecommitdiff
path: root/zsh/fpath.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/fpath.zsh')
-rw-r--r--zsh/fpath.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/fpath.zsh b/zsh/fpath.zsh
new file mode 100644
index 0000000..eaff4f4
--- /dev/null
+++ b/zsh/fpath.zsh
@@ -0,0 +1,2 @@
+#add each topic folder to fpath so that they can add functions and completion scripts
+for topic_folder ($ZSH/*) if [ -d $topic_folder ]; then fpath=($topic_folder $fpath); fi;