dotfiles/source
2024-09-04 16:00:06 +02:00

15 lines
271 B
Bash
Executable File

#!/bin/bash
script_path=$(realpath "$0")
# Extract the directory from the script path
directory=$(dirname "$script_path")
#!/bin/bash
for file in "$directory"/*.sh; do
if [ "$(basename "$file")" != update.sh ]; then
chmod +x "$file"
source "$file"
fi
done