(bash-conf-[private/work]) added scripts to path, removed sourcing of

`.bashrc`
This commit is contained in:
scbj
2025-06-02 12:10:01 +02:00
committed by quak
parent 68327e56bf
commit a537cfacb4
2 changed files with 10 additions and 2 deletions

View File

@@ -2,8 +2,10 @@
# ~/.bash_profile # ~/.bash_profile
# #
if [[ -n "$USER" ]]; then scripts="${HOME}/dotfiles/scripts"
source "/home/$USER/.bashrc" if [[ -d "${scripts}" ]]; then
export PATH="${PATH}:${scripts}"
fi fi
unset scripts
export PATH="$PATH:$HOME/repos/jlink" export PATH="$PATH:$HOME/repos/jlink"

View File

@@ -3,6 +3,12 @@
# #
# extend paths # 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/Xilinx/Vivado/2021.1/bin"
export PATH="$PATH:$HOME/tools/jlink_linux" export PATH="$PATH:$HOME/tools/jlink_linux"