zsh-grawlinson/functions/autosource

12 lines
163 B
Text
Raw Permalink Normal View History

2019-10-31 23:18:00 +00:00
#!/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