]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/commitdiff
Needs to be set before compinit or completer functions won’t be loaded
authorHendrik Jäger <hendrik.jaeger@dswiss.com>
Mon, 22 Nov 2021 15:58:08 +0000 (16:58 +0100)
committerHendrik Jäger <hendrik.jaeger@dswiss.com>
Mon, 22 Nov 2021 15:58:28 +0000 (16:58 +0100)
.zshrc

diff --git a/.zshrc b/.zshrc
index 8258f1abb5e1130d6b243806d88f81065fff8c8f..68fcb86e80e6875d28995d5894a71c6cdb2c5738 100644 (file)
--- 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)