[NEW] env.bash: new add_path helper

This commit is contained in:
Andrew Rogers 2023-10-16 22:08:26 -05:00
commit c275bfefe5

1
env.bash Normal file
View file

@ -0,0 +1 @@
add_path() { [[ ":$PATH:" != *":$1:"* ]] && export PATH="$1:$PATH" ; }