dotfiles/.local/bin/scripts/chexec

4 lines
153 B
Bash
Executable File

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