dotfiles/.local/bin/scripts/chexec
2023-05-25 21:37:55 +01:00

3 lines
151 B
Bash
Executable file

#!/bin/sh -ex
# Set exec flag on all files that should be executable
find -maxdepth 4 -name "*.sh" -o -path '*/githooks/*' "$@" -exec chmod -v +x {} +