dotfiles/source

11 lines
212 B
Plaintext
Raw Permalink Normal View History

2024-09-04 16:00:06 +02:00
#!/bin/bash
script_path=$(realpath "$0")
directory=$(dirname "$script_path")
for file in "$directory"/*.sh; do
if [ "$(basename "$file")" != update.sh ]; then
chmod +x "$file"
source "$file"
fi
done