diff --git a/functions b/functions index 77cd330..7ee86ce 100644 --- a/functions +++ b/functions @@ -7,6 +7,11 @@ function aws-profile { fi } +function fix-permissions { + find . -type d -print0 | xargs -0 chmod 0755 + find . -type f -print0 | xargs -0 chmod 0644 +} + function g { if [[ $# > 0 ]]; then git $@