Files
dotfiles/bash-conf-home/.bash_paths
2026-03-12 00:56:37 +01:00

23 lines
426 B
Bash

#
# ~/.bash_profile
#
# KEEP THIS!
# important for window manager and menu app (fuzzel, rofi, ..)
# to find scripts and utilities
export_paths=("${HOME}/dotfiles/scripts")
export_paths+=("/opt/jlink")
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