diff --git a/zsh/zshrc b/zsh/zshrc index a0a95c1..2023f7d 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,3 +1,10 @@ +# Fig pre block. Keep at the top of this file. +export PATH="${PATH}:${HOME}/.local/bin" +if [[ $(whence -p fig 2> /dev/null) ]]; then + FIG_FOUND=1 + eval "$(fig init zsh pre)" +fi + HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 @@ -167,3 +174,8 @@ LS_PICKER="exa" for funcfile in $HOME/.zsh.d/* ; do source "${funcfile}" done + +if [[ $FIG_FOUND == 1 ]]; then + # Fig post block. Keep at the bottom of this file. + eval "$(fig init zsh post)" +fi