Adding paths
This commit is contained in:
parent
48d0662d46
commit
61065af471
1 changed files with 13 additions and 0 deletions
13
.zsh/lib/path.zsh
Normal file
13
.zsh/lib/path.zsh
Normal file
|
@ -0,0 +1,13 @@
|
|||
typeset -U path
|
||||
|
||||
pathdirs=(
|
||||
~/arm-coding/gcc-arm-none-eabi-4_8-2014q1/bin \
|
||||
~/arm-coding/git/lm4tools/lm4flash \
|
||||
~/arm-coding/openocd-bin
|
||||
)
|
||||
|
||||
for dir in $pathdirs; do
|
||||
if [ -d $dir ]; then
|
||||
path+=$dir
|
||||
fi
|
||||
done
|
Loading…
Reference in a new issue