dotfiles/.local/bin/scripts/chexec

4 lines
151 B
Plaintext
Raw Normal View History

2023-04-10 16:31:48 +00:00
#!/bin/sh -ex
# Set exec flag on all files that should be executable
2023-05-25 20:37:55 +00:00
find -maxdepth 4 -name "*.sh" -o -path '*/githooks/*' "$@" -exec chmod -v +x {} +