From 10e8e6728cd6919f44e98b709b72b2e28bcfcde7 Mon Sep 17 00:00:00 2001 From: anthonycicc Date: Thu, 24 Mar 2022 10:34:44 -0400 Subject: [PATCH] Fig --- zsh/zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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