From 576d7f59d926b04c7b245341c2279ff84b121c22 Mon Sep 17 00:00:00 2001 From: pauljako <126326487+pauljako@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:02:21 +0200 Subject: [PATCH] Added boundaries support --- .zshrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index ae335e1..76fd9e8 100644 --- a/.zshrc +++ b/.zshrc @@ -84,8 +84,8 @@ zinit light zsh-users/zsh-autosuggestions # # Load the zsh completion system autoload -U compinit && compinit -# Initialize Zoxide if it exists # +# Initialize Zoxide if it exists if command -v zoxide &> /dev/null then eval "$(zoxide init --cmd cd zsh)" @@ -97,6 +97,15 @@ then eval "$(thefuck --alias)" fi # +# Add boundaries to the path if it exists +if [ -f "$HOME/.bndpath" ] +then + PATH="$(cat $HOME/.bndpath)/exec/bin:$PATH" +elif [ -d "$HOME/boundaries" ] +then + PATH="$HOME/boundaries/exec/bin:$PATH" +fi +# # Colored ls alias ls="ls --color=auto" #