diff --git a/run_once_import_gpg_from_1password.sh.tmpl b/run_once_import_gpg_from_1password.sh.tmpl new file mode 100644 index 0000000..e1326f0 --- /dev/null +++ b/run_once_import_gpg_from_1password.sh.tmpl @@ -0,0 +1,6 @@ +#!/bin/sh +{{ if findExecutable "op" (list "/usr/bin" "/usr/local/bin") }} +echo '{{ onepasswordDocument "gpg key" }}' | gpg --import +{{ else }} +echo "WARNING: 1password-cli has not been installed on your system. Your gpg key will not be imported." +{{ end }} diff --git a/run_once_install_programs.sh.tmpl b/run_once_install_programs.sh.tmpl new file mode 100644 index 0000000..bdd76c7 --- /dev/null +++ b/run_once_install_programs.sh.tmpl @@ -0,0 +1,4 @@ +#!/bin/sh +{{- if eq .chezmoi.osRelease.id "fedora" }} +# TODO: Install programs +{{ end }}