From e81ad22fee0eefe4a1c329e0a3c832088889bdc4 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 24 Aug 2021 20:18:31 -0500 Subject: [PATCH] Move local path to profile --- dot_profile | 6 ++++++ executable_dot_zshrc | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dot_profile b/dot_profile index d386818..0e01dbb 100644 --- a/dot_profile +++ b/dot_profile @@ -1,3 +1,9 @@ +# User specific environment +if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] +then + PATH="$HOME/.local/bin:$HOME/bin:$PATH" +fi + # Linuxbrew setup if [ -d $HOME/../linuxbrew/.linuxbrew ]; then BREWPATH=$HOME/../linuxbrew/.linuxbrew diff --git a/executable_dot_zshrc b/executable_dot_zshrc index 4dd8c59..045cedb 100644 --- a/executable_dot_zshrc +++ b/executable_dot_zshrc @@ -89,8 +89,6 @@ antigen apply autoload -U bashcompinit bashcompinit -# Add pipx packages to PATH -export PATH="$PATH:$HOME/.local/bin" # Enable pipx completions if [[ $(command -v pipx) ]]; then eval "$(register-python-argcomplete pipx)"