From 586d8882940918fc349e804a0b06bf9d82fbd0ca Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Mon, 22 Nov 2021 16:58:08 +0100 Subject: Needs to be set before compinit or completer functions won’t be loaded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3