Dan Anglin
903e5d8b66
- ensure configured home directories are present and their mode set to 0700 - move dotfiles to files - added JSON config
12 lines
292 B
Text
12 lines
292 B
Text
if [[ -d "$HOME/.local/software" ]]; then
|
|
for dir in ${HOME}/.local/software/*; do
|
|
dir=${dir:A}
|
|
if [[ -d "$dir/bin" ]]; then
|
|
if ! [[ "${PATH}" =~ "$dir/bin" ]]; then
|
|
export PATH="$dir/bin:$PATH"
|
|
fi
|
|
fi
|
|
done
|
|
fi
|
|
|
|
unset dir
|