Skip to content
Snippets Groups Projects
Commit 287cdeea authored by nimrod's avatar nimrod
Browse files

Silence some warnings.

parent 58eeafb8
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,7 @@ alias check_unix='nc -Uvzw3'
alias listen_tcp='nc -vlk 0.0.0.0'
alias listen_udp='nc -uvlk 0.0.0.0'
alias listen_unix='nc -Uvlk'
# shellcheck disable=SC2032
alias rm='rm --dir'
alias tfa='terraform apply tfplan'
alias tfvf='tfv && terraform fmt -diff'
......@@ -276,6 +277,7 @@ sync_comics () {
this_month="$( date "$format" )"
last_month="$( date --date '1 month ago' "$format" )"
rsync --prune-empty-dirs --ignore-missing-args --recursive --compress --progress --exclude "*.part" "$last_month" "$this_month" "$HOME/Downloads/Comics/"
# shellcheck disable=SC2033
find "$HOME/Downloads/Comics/" -name "$(date --date '2 month ago' +'0-Day\ Week\ of\ %Y.%m.*')" -exec rm -r {} +
}
......
......@@ -8,6 +8,7 @@ repos:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
exclude: myclirc|netrc|packet-cli|mycli-history|scwrc
- id: detect-private-key
- id: trailing-whitespace
- id: requirements-txt-fixer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment