11 lines
163 B
Bash
11 lines
163 B
Bash
#!/bin/zsh
|
|
local f=
|
|
local p=
|
|
|
|
for f; do
|
|
for p in $spath; do
|
|
[[ -r $p/$f ]] && . "$p/$f" && break
|
|
done
|
|
done
|
|
|
|
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2
|