Adding paths

This commit is contained in:
Nis Wechselberg 2014-04-16 21:50:26 +02:00
parent 48d0662d46
commit 61065af471

13
.zsh/lib/path.zsh Normal file
View 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