Skip to content

Commit

Permalink
chezmoi: manage packages installed via pipx on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarf committed Jan 14, 2025
1 parent 8de31b9 commit 27fed7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions home/.chezmoidata/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ packages:
- "1317704208"
# Xcode
- "497799835"
pipx:
- "mccli"
freebsd:
cli:
- "direnv"
Expand Down
3 changes: 3 additions & 0 deletions home/run_onchange_install-packages.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ EOF
mas purchase {{ . | quote }}
mas install {{ . | quote }}
{{ end -}}
{{ range .packages.darwin.pipx -}}
pipx install {{ . | quote }}
{{ end -}}

{{ else if eq .chezmoi.os "linux" -}}

Expand Down

0 comments on commit 27fed7a

Please sign in to comment.