diff --git a/.chezmoiignore b/.chezmoiignore index dd5ca42..f90624b 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1,3 +1,2 @@ /hellotech/ -/old-scripts/ /README.md diff --git a/old-scripts/.local/bin/duck-encoder.jar b/dot_local/bin/duck-encoder.jar old mode 100644 new mode 100755 similarity index 100% rename from old-scripts/.local/bin/duck-encoder.jar rename to dot_local/bin/duck-encoder.jar diff --git a/old-scripts/.local/bin/duck-encoder b/dot_local/bin/executable_duck-encoder.tmpl similarity index 64% rename from old-scripts/.local/bin/duck-encoder rename to dot_local/bin/executable_duck-encoder.tmpl index c77f990..46c67f1 100755 --- a/old-scripts/.local/bin/duck-encoder +++ b/dot_local/bin/executable_duck-encoder.tmpl @@ -1,3 +1,5 @@ +{{ if .include_legacy }} #!/usr/bin/env bash java -jar $(dirname $0)/duck-encoder.jar $* +{{- end }} diff --git a/old-scripts/.local/bin/filesize b/dot_local/bin/executable_filesize.tmpl similarity index 91% rename from old-scripts/.local/bin/filesize rename to dot_local/bin/executable_filesize.tmpl index 9715d89..29cc094 100755 --- a/old-scripts/.local/bin/filesize +++ b/dot_local/bin/executable_filesize.tmpl @@ -1,3 +1,4 @@ +{{ if .include_legacy }} #!/usr/bin/env perl # Get sorted list files @@ -13,3 +14,4 @@ foreach my $file (@sortedFiles) { my $fileSortedPrintCmd = "du -s \"$realFileName\""; print `$fileSortedPrintCmd`; } +{{- end }} diff --git a/old-scripts/.local/bin/get-amazon-art b/dot_local/bin/executable_get-amazon-art.tmpl similarity index 99% rename from old-scripts/.local/bin/get-amazon-art rename to dot_local/bin/executable_get-amazon-art.tmpl index df09ae2..03c5297 100755 --- a/old-scripts/.local/bin/get-amazon-art +++ b/dot_local/bin/executable_get-amazon-art.tmpl @@ -1,3 +1,4 @@ +{{ if .include_legacy }} #!/usr/bin/env python """ This is a program that attempts to get all the album art from amazon @@ -169,3 +170,4 @@ def main(): if __name__ == "__main__": main() +{{- end }} diff --git a/dot_local/bin/executable-install-aax-to-mp3 b/dot_local/bin/executable_install-aax-to-mp3 old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-aax-to-mp3 rename to dot_local/bin/executable_install-aax-to-mp3 diff --git a/dot_local/bin/executable-install-age b/dot_local/bin/executable_install-age old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-age rename to dot_local/bin/executable_install-age diff --git a/dot_local/bin/executable_install-bat b/dot_local/bin/executable_install-bat old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-cert-manager-cmctl b/dot_local/bin/executable_install-cert-manager-cmctl old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-cert-manager-cmctl rename to dot_local/bin/executable_install-cert-manager-cmctl diff --git a/dot_local/bin/executable-install-chezmoi b/dot_local/bin/executable_install-chezmoi old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-chezmoi rename to dot_local/bin/executable_install-chezmoi diff --git a/dot_local/bin/executable-install-dasel-home b/dot_local/bin/executable_install-dasel-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-dasel-home rename to dot_local/bin/executable_install-dasel-home diff --git a/dot_local/bin/executable_install-deno b/dot_local/bin/executable_install-deno old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable_install-direnv b/dot_local/bin/executable_install-direnv old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-dust b/dot_local/bin/executable_install-dust old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-dust rename to dot_local/bin/executable_install-dust diff --git a/dot_local/bin/executable_install-erdtree b/dot_local/bin/executable_install-erdtree old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-etcd-system b/dot_local/bin/executable_install-etcd-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-etcd-system rename to dot_local/bin/executable_install-etcd-system diff --git a/dot_local/bin/executable-install-evans b/dot_local/bin/executable_install-evans old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-evans rename to dot_local/bin/executable_install-evans diff --git a/dot_local/bin/executable_install-fzf b/dot_local/bin/executable_install-fzf old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-geckodriver b/dot_local/bin/executable_install-geckodriver old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-geckodriver rename to dot_local/bin/executable_install-geckodriver diff --git a/dot_local/bin/executable-install-gitea-home b/dot_local/bin/executable_install-gitea-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-gitea-home rename to dot_local/bin/executable_install-gitea-home diff --git a/dot_local/bin/executable-install-gitea-system b/dot_local/bin/executable_install-gitea-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-gitea-system rename to dot_local/bin/executable_install-gitea-system diff --git a/dot_local/bin/executable_install-go-home b/dot_local/bin/executable_install-go-home old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable_install-go-system b/dot_local/bin/executable_install-go-system old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable_install-golangci-lint b/dot_local/bin/executable_install-golangci-lint old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable_install-gomock-home b/dot_local/bin/executable_install-gomock-home old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-gotemplate b/dot_local/bin/executable_install-gotemplate old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-gotemplate rename to dot_local/bin/executable_install-gotemplate diff --git a/dot_local/bin/executable-install-hugo-home b/dot_local/bin/executable_install-hugo-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-hugo-home rename to dot_local/bin/executable_install-hugo-home diff --git a/dot_local/bin/executable-install-kubectl b/dot_local/bin/executable_install-kubectl old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-kubectl rename to dot_local/bin/executable_install-kubectl diff --git a/dot_local/bin/executable-install-lego-home b/dot_local/bin/executable_install-lego-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-lego-home rename to dot_local/bin/executable_install-lego-home diff --git a/dot_local/bin/executable-install-lego-system b/dot_local/bin/executable_install-lego-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-lego-system rename to dot_local/bin/executable_install-lego-system diff --git a/dot_local/bin/executable_install-lf b/dot_local/bin/executable_install-lf old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-minikube-home b/dot_local/bin/executable_install-minikube-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-minikube-home rename to dot_local/bin/executable_install-minikube-home diff --git a/dot_local/bin/executable-install-minikube-system b/dot_local/bin/executable_install-minikube-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-minikube-system rename to dot_local/bin/executable_install-minikube-system diff --git a/dot_local/bin/executable-install-node-exporter-system b/dot_local/bin/executable_install-node-exporter-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-node-exporter-system rename to dot_local/bin/executable_install-node-exporter-system diff --git a/dot_local/bin/executable_install-node-home b/dot_local/bin/executable_install-node-home old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable_install-node-system b/dot_local/bin/executable_install-node-system old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-procs b/dot_local/bin/executable_install-procs old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-procs rename to dot_local/bin/executable_install-procs diff --git a/dot_local/bin/executable-install-prometheus-system b/dot_local/bin/executable_install-prometheus-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-prometheus-system rename to dot_local/bin/executable_install-prometheus-system diff --git a/dot_local/bin/executable-install-protoc-home b/dot_local/bin/executable_install-protoc-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-protoc-home rename to dot_local/bin/executable_install-protoc-home diff --git a/dot_local/bin/executable-install-protoc-system b/dot_local/bin/executable_install-protoc-system old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-protoc-system rename to dot_local/bin/executable_install-protoc-system diff --git a/dot_local/bin/executable-install-pulumi b/dot_local/bin/executable_install-pulumi old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-pulumi rename to dot_local/bin/executable_install-pulumi diff --git a/dot_local/bin/executable_install-ripgrep b/dot_local/bin/executable_install-ripgrep old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable_install-rvm b/dot_local/bin/executable_install-rvm old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-shellcheck-home b/dot_local/bin/executable_install-shellcheck-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-shellcheck-home rename to dot_local/bin/executable_install-shellcheck-home diff --git a/dot_local/bin/executable-install-shfmt b/dot_local/bin/executable_install-shfmt old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-shfmt rename to dot_local/bin/executable_install-shfmt diff --git a/dot_local/bin/executable-install-sqlc b/dot_local/bin/executable_install-sqlc old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-sqlc rename to dot_local/bin/executable_install-sqlc diff --git a/dot_local/bin/executable_install-starship b/dot_local/bin/executable_install-starship old mode 100644 new mode 100755 diff --git a/dot_local/bin/executable-install-tile38 b/dot_local/bin/executable_install-tile38 old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-tile38 rename to dot_local/bin/executable_install-tile38 diff --git a/dot_local/bin/executable-install-trubka b/dot_local/bin/executable_install-trubka old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-trubka rename to dot_local/bin/executable_install-trubka diff --git a/dot_local/bin/executable-install-ttyd b/dot_local/bin/executable_install-ttyd old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-ttyd rename to dot_local/bin/executable_install-ttyd diff --git a/dot_local/bin/executable-install-vegeta-home b/dot_local/bin/executable_install-vegeta-home old mode 100644 new mode 100755 similarity index 100% rename from dot_local/bin/executable-install-vegeta-home rename to dot_local/bin/executable_install-vegeta-home diff --git a/old-scripts/.local/bin/mkpodcastplaylist b/dot_local/bin/executable_mkpodcastplaylist.tmpl similarity index 98% rename from old-scripts/.local/bin/mkpodcastplaylist rename to dot_local/bin/executable_mkpodcastplaylist.tmpl index 77fba95..46e9f8b 100755 --- a/old-scripts/.local/bin/mkpodcastplaylist +++ b/dot_local/bin/executable_mkpodcastplaylist.tmpl @@ -1,3 +1,4 @@ +{{ if .include_legacy }} #!/usr/bin/env python3 from functools import partial @@ -117,3 +118,4 @@ if __name__ == '__main__': parser.add_argument('-d', '--directory', default=Path('.'), type=Path) args = parser.parse_args() main(args.directory) + {{- end }} diff --git a/old-scripts/.local/bin/mv-to-docs b/dot_local/bin/executable_mv-to-docs.tmpl similarity index 98% rename from old-scripts/.local/bin/mv-to-docs rename to dot_local/bin/executable_mv-to-docs.tmpl index 52f441a..e45570f 100755 --- a/old-scripts/.local/bin/mv-to-docs +++ b/dot_local/bin/executable_mv-to-docs.tmpl @@ -1,3 +1,4 @@ +{{ if .include_legacy }} #!/usr/bin/env python3 ''' @@ -82,3 +83,4 @@ if __name__ == "__main__": message = "" main(file_name=file_name, dir_name=dir_name, message=message) + {{- end }} diff --git a/old-scripts/.local/bin/prefix-date b/dot_local/bin/executable_prefix-date.tmpl similarity index 98% rename from old-scripts/.local/bin/prefix-date rename to dot_local/bin/executable_prefix-date.tmpl index d82ebe7..930f1e3 100755 --- a/old-scripts/.local/bin/prefix-date +++ b/dot_local/bin/executable_prefix-date.tmpl @@ -1,3 +1,4 @@ +{{ if .include_legacy }} #!/usr/bin/env python3 import os @@ -115,3 +116,4 @@ if __name__ == '__main__': options, args = parser.parse_args() main(options, args) + {{- end }} diff --git a/old-scripts/.local/bin/send-toy-certs b/dot_local/bin/executable_send-toy-certs.tmpl similarity index 88% rename from old-scripts/.local/bin/send-toy-certs rename to dot_local/bin/executable_send-toy-certs.tmpl index f46ed5f..ca3c28d 100755 --- a/old-scripts/.local/bin/send-toy-certs +++ b/dot_local/bin/executable_send-toy-certs.tmpl @@ -1,4 +1,6 @@ +{{ if .include_legacy }} #!/usr/bin/env bash sudo systemctl start lego@toy.xbudex.com.service scp /etc/ssl/certificates/toy.xbudex.com.crt toy.xbudex.com:AppData/Local/Syncthing/https-cert.pem scp /etc/ssl/certificates/toy.xbudex.com.key toy.xbudex.com:AppData/Local/Syncthing/https-key.pem +{{- end }} diff --git a/old-scripts/.local/bin/snow b/dot_local/bin/executable_snow.tmpl similarity index 95% rename from old-scripts/.local/bin/snow rename to dot_local/bin/executable_snow.tmpl index 2e06fcb..e2cb98a 100755 --- a/old-scripts/.local/bin/snow +++ b/dot_local/bin/executable_snow.tmpl @@ -1,3 +1,4 @@ +{{ if .include_legacy }} #!/bin/bash LINES=$(tput lines) @@ -38,3 +39,4 @@ do sleep 0.1 done +{{- end }}