Dotfiles/.zsh/lib/path.zsh

14 lines
220 B
Bash
Raw Normal View History

2014-04-16 21:50:26 +02:00
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