diff --git a/bash-conf-private/.bash_profile b/bash-conf-private/.bash_profile index aade2e5..ebf2443 100644 --- a/bash-conf-private/.bash_profile +++ b/bash-conf-private/.bash_profile @@ -2,8 +2,10 @@ # ~/.bash_profile # -if [[ -n "$USER" ]]; then - source "/home/$USER/.bashrc" +scripts="${HOME}/dotfiles/scripts" +if [[ -d "${scripts}" ]]; then + export PATH="${PATH}:${scripts}" fi +unset scripts export PATH="$PATH:$HOME/repos/jlink" diff --git a/bash-conf-work/.bash_profile b/bash-conf-work/.bash_profile index d13088e..b752cb3 100644 --- a/bash-conf-work/.bash_profile +++ b/bash-conf-work/.bash_profile @@ -3,6 +3,12 @@ # # extend paths +scripts="${HOME}/dotfiles/scripts" +if [[ -d "${scripts}" ]]; then + export PATH="${PATH}:${scripts}" +fi +unset scripts + export PATH="$PATH:$HOME/tools/Xilinx/Vivado/2021.1/bin" export PATH="$PATH:$HOME/tools/jlink_linux"