diff --git a/private/symlink_chezmoi b/private/symlink_chezmoi new file mode 100644 index 0000000..7f80dd0 --- /dev/null +++ b/private/symlink_chezmoi @@ -0,0 +1 @@ +/Users/beisel/.local/share/chezmoi diff --git a/run_after_update_packagelist.sh.tmpl b/run_after_update_packagelist.sh.tmpl new file mode 100644 index 0000000..e040770 --- /dev/null +++ b/run_after_update_packagelist.sh.tmpl @@ -0,0 +1,18 @@ +#!/bin/bash + +# Generate the list of installed brew packages +brews=$(brew list --formula | awk '{print " - "$1}') + +# Generate the list of installed cask packages +casks=$(brew list --cask | awk '{print " - "$1}') + +# Print the output in the desired format +cat < {{ .chezmoi.sourceDir }}/.chezmoidata/packages.yaml +