dotfiles/.local/bin/scripts/chexec

4 lines
153 B
Text
Raw Normal View History

#!/bin/sh
2023-04-10 18:31:48 +02:00
# Set exec flag on all files that should be executable
2023-09-27 15:38:23 +02:00
find -maxdepth 4 \( -name "*.sh" -o -path '*/githooks/*' \) "$@" -exec chmod -v +x {} +