From 7e92d28f52cb2a78524e7b3b2950595ebbed14fb Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 25 May 2023 16:57:57 -0700 Subject: [PATCH] Convert old scripts to chezmoi requires include_legacy data to be set to true: [data] include_legacy = true --- .chezmoiignore | 1 - .../.local => dot_local}/bin/duck-encoder.jar | Bin .../bin/executable_duck-encoder.tmpl | 2 ++ .../bin/executable_filesize.tmpl | 2 ++ .../bin/executable_get-amazon-art.tmpl | 2 ++ ...all-aax-to-mp3 => executable_install-aax-to-mp3} | 0 ...xecutable-install-age => executable_install-age} | 0 dot_local/bin/executable_install-bat | 0 ...-cmctl => executable_install-cert-manager-cmctl} | 0 ...e-install-chezmoi => executable_install-chezmoi} | 0 ...all-dasel-home => executable_install-dasel-home} | 0 dot_local/bin/executable_install-deno | 0 dot_local/bin/executable_install-direnv | 0 ...cutable-install-dust => executable_install-dust} | 0 dot_local/bin/executable_install-erdtree | 0 ...l-etcd-system => executable_install-etcd-system} | 0 ...table-install-evans => executable_install-evans} | 0 dot_local/bin/executable_install-fzf | 0 ...l-geckodriver => executable_install-geckodriver} | 0 ...all-gitea-home => executable_install-gitea-home} | 0 ...gitea-system => executable_install-gitea-system} | 0 dot_local/bin/executable_install-go-home | 0 dot_local/bin/executable_install-go-system | 0 dot_local/bin/executable_install-golangci-lint | 0 dot_local/bin/executable_install-gomock-home | 0 ...all-gotemplate => executable_install-gotemplate} | 0 ...stall-hugo-home => executable_install-hugo-home} | 0 ...e-install-kubectl => executable_install-kubectl} | 0 ...stall-lego-home => executable_install-lego-home} | 0 ...l-lego-system => executable_install-lego-system} | 0 dot_local/bin/executable_install-lf | 0 ...nikube-home => executable_install-minikube-home} | 0 ...be-system => executable_install-minikube-system} | 0 ...stem => executable_install-node-exporter-system} | 0 dot_local/bin/executable_install-node-home | 0 dot_local/bin/executable_install-node-system | 0 ...table-install-procs => executable_install-procs} | 0 ...-system => executable_install-prometheus-system} | 0 ...l-protoc-home => executable_install-protoc-home} | 0 ...otoc-system => executable_install-protoc-system} | 0 ...ble-install-pulumi => executable_install-pulumi} | 0 dot_local/bin/executable_install-ripgrep | 0 dot_local/bin/executable_install-rvm | 0 ...heck-home => executable_install-shellcheck-home} | 0 ...table-install-shfmt => executable_install-shfmt} | 0 ...cutable-install-sqlc => executable_install-sqlc} | 0 dot_local/bin/executable_install-starship | 0 ...ble-install-tile38 => executable_install-tile38} | 0 ...ble-install-trubka => executable_install-trubka} | 0 ...cutable-install-ttyd => executable_install-ttyd} | 0 ...l-vegeta-home => executable_install-vegeta-home} | 0 .../bin/executable_mkpodcastplaylist.tmpl | 2 ++ .../bin/executable_mv-to-docs.tmpl | 2 ++ .../bin/executable_prefix-date.tmpl | 2 ++ .../bin/executable_send-toy-certs.tmpl | 2 ++ .../bin/snow => dot_local/bin/executable_snow.tmpl | 2 ++ 56 files changed, 16 insertions(+), 1 deletion(-) rename {old-scripts/.local => dot_local}/bin/duck-encoder.jar (100%) mode change 100644 => 100755 rename old-scripts/.local/bin/duck-encoder => dot_local/bin/executable_duck-encoder.tmpl (64%) rename old-scripts/.local/bin/filesize => dot_local/bin/executable_filesize.tmpl (91%) rename old-scripts/.local/bin/get-amazon-art => dot_local/bin/executable_get-amazon-art.tmpl (99%) rename dot_local/bin/{executable-install-aax-to-mp3 => executable_install-aax-to-mp3} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-age => executable_install-age} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-bat rename dot_local/bin/{executable-install-cert-manager-cmctl => executable_install-cert-manager-cmctl} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-chezmoi => executable_install-chezmoi} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-dasel-home => executable_install-dasel-home} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-deno mode change 100644 => 100755 dot_local/bin/executable_install-direnv rename dot_local/bin/{executable-install-dust => executable_install-dust} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-erdtree rename dot_local/bin/{executable-install-etcd-system => executable_install-etcd-system} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-evans => executable_install-evans} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-fzf rename dot_local/bin/{executable-install-geckodriver => executable_install-geckodriver} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-gitea-home => executable_install-gitea-home} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-gitea-system => executable_install-gitea-system} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-go-home mode change 100644 => 100755 dot_local/bin/executable_install-go-system mode change 100644 => 100755 dot_local/bin/executable_install-golangci-lint mode change 100644 => 100755 dot_local/bin/executable_install-gomock-home rename dot_local/bin/{executable-install-gotemplate => executable_install-gotemplate} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-hugo-home => executable_install-hugo-home} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-kubectl => executable_install-kubectl} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-lego-home => executable_install-lego-home} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-lego-system => executable_install-lego-system} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-lf rename dot_local/bin/{executable-install-minikube-home => executable_install-minikube-home} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-minikube-system => executable_install-minikube-system} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-node-exporter-system => executable_install-node-exporter-system} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-node-home mode change 100644 => 100755 dot_local/bin/executable_install-node-system rename dot_local/bin/{executable-install-procs => executable_install-procs} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-prometheus-system => executable_install-prometheus-system} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-protoc-home => executable_install-protoc-home} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-protoc-system => executable_install-protoc-system} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-pulumi => executable_install-pulumi} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-ripgrep mode change 100644 => 100755 dot_local/bin/executable_install-rvm rename dot_local/bin/{executable-install-shellcheck-home => executable_install-shellcheck-home} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-shfmt => executable_install-shfmt} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-sqlc => executable_install-sqlc} (100%) mode change 100644 => 100755 mode change 100644 => 100755 dot_local/bin/executable_install-starship rename dot_local/bin/{executable-install-tile38 => executable_install-tile38} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-trubka => executable_install-trubka} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-ttyd => executable_install-ttyd} (100%) mode change 100644 => 100755 rename dot_local/bin/{executable-install-vegeta-home => executable_install-vegeta-home} (100%) mode change 100644 => 100755 rename old-scripts/.local/bin/mkpodcastplaylist => dot_local/bin/executable_mkpodcastplaylist.tmpl (98%) rename old-scripts/.local/bin/mv-to-docs => dot_local/bin/executable_mv-to-docs.tmpl (98%) rename old-scripts/.local/bin/prefix-date => dot_local/bin/executable_prefix-date.tmpl (98%) rename old-scripts/.local/bin/send-toy-certs => dot_local/bin/executable_send-toy-certs.tmpl (88%) rename old-scripts/.local/bin/snow => dot_local/bin/executable_snow.tmpl (95%) 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 }}