[NEW] env.bash: new add_path helper
This commit is contained in:
parent
02e4eaf37c
commit
c275bfefe5
1 changed files with 1 additions and 0 deletions
1
env.bash
Normal file
1
env.bash
Normal file
|
|
@ -0,0 +1 @@
|
|||
add_path() { [[ ":$PATH:" != *":$1:"* ]] && export PATH="$1:$PATH" ; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue