summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 8258f1a..68fcb86 100644
--- a/.zshrc
+++ b/.zshrc
@@ -23,6 +23,9 @@ export YSU_MODE=ALL
# I want sbin executables available
export PATH=${PATH}:/usr/local/sbin:/sbin:/usr/sbin
+# where zsh looks for functions
+fpath=(~/.zsh_functions $fpath)
+
# hashed directories are usually independent and standalone
# so they can stay at the top
@@ -99,7 +102,6 @@ source ~/.zsh_zinit
# * follow symlinks
# * work only on plainfiles
# * take only the filename part without dir
-fpath=(~/.zsh_functions $fpath)
autoload ~/.zsh_functions/[^_]*(-.:t)