dotfiles/.local/bin/scripts/chexec

4 lines
151 B
Text
Raw Normal View History

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