My zsh configuration
git clone https://mcol.xyz/code/zshrc
Log | Files | Refs | Submodules | README

commit cf80d8f458a62bcbca36303eeeaa255ad1c87736
parent c21b1f7f8dcae46f4470d1bd75e26d53f2c53231
Author: mcol <mcol@posteo.net>
Date:   Tue, 16 Nov 2021 15:52:36 +0000

Add typer's zfunc folder to fpath

Diffstat:
Aset_groot.zsh | 16++++++++++++++++
Mzshrc | 1+
2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/set_groot.zsh b/set_groot.zsh @@ -0,0 +1,16 @@ +# +# Set ~g to point to current git root +# + +#function _set_groot() { +# local groot +# if groot=$(git rev-parse --show-toplevel 2> /dev/null) +# then +# hash -d g="$groot" +# else +# disable g +# fi +#} +# +#autoload -Uz add-zsh-hook +#add-zsh-hook precmd _set_groot diff --git a/zshrc b/zshrc @@ -22,6 +22,7 @@ HYPHEN_INSENSITIVE="true" COMPLETION_WAITING_DOTS="true" ZSH_COMPDUMP="$HOME/.zcompdump" setopt NO_nomatch +fpath=(~/.zfunc $fpath) # zsh history HISTFILE="$HOME/.zsh_history"