Files
dotfiles/bash-conf-home/.bash_paths
T

27 lines
608 B
Bash

#
# ~/.bash_profile
#
# KEEP THIS!
# important for window manager and menu app (fuzzel, rofi, ..)
# to find scripts and utilities
unset export_paths
export_paths+=("${HOME}/dotfiles/scripts")
export_paths+=("${HOME}/dotfiles/desktop-files")
export_paths+=("/opt/jlink")
export_paths+=("${HOME}/.cargo/bin")
export_paths+=("/opt/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi/bin")
for entry in ${export_paths[@]}; do
if ! [[ -d "${entry}" ]]; then
continue
fi
if [[ "$PATH" == *"${entry}"* ]]; then
continue
fi
export PATH="${PATH}:${entry}"
done
unset export_paths