Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoitemplates/universal/profile

This commit is contained in:
Brian Zalewski 2022-11-28 01:29:45 +00:00
parent 668ca940c4
commit d32049cc42
2 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,7 @@
{{- includeTemplate "universal/profile" }}
{{- includeTemplate "universal/logg" }}
# software: {{ join (get .softwareGroups .host.softwareGroup) " " }}
# software: {{ join (index .softwareGroups .host.softwareGroup) " " }}
if command -v install-software > /dev/null; then
logg 'Installing packages defined in .chezmoidata.yaml under the .softwareGroups key'

View file

@ -15,7 +15,10 @@ if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
export WHALEBREW_INSTALL_PATH="/home/linuxbrew/.linuxbrew/whalebrew"
elif [ -f /opt/homebrew/bin/brew ]; then
eval $(/opt/homebrew/bin/brew shellenv)
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [ -f /usr/local/bin/brew ]; then
eval $(/usr/local/bin/brew shellenv)
eval "$(/usr/local/bin/brew shellenv)"
fi
### Ensure ~/.local/bin in PATH
export PATH="$HOME/.local/bin:$PATH"