dotfiles/etc/zsh/zshrc

11 lines
151 B
Bash
Raw Permalink Normal View History

2023-06-04 16:24:58 +02:00
sourcefiles() {
if [ -d "$1" ]; then
for i in "${1}/"*; do
2023-06-04 16:38:39 +02:00
. "$i"
2023-06-04 16:24:58 +02:00
done
fi
}
sourcefiles /usr/local/etc/sh/shrc.d