Skip to content

Commit

Permalink
Reduce more output noise
Browse files Browse the repository at this point in the history
  • Loading branch information
mmena1 committed Mar 15, 2024
1 parent 193711e commit 579b636
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if ! _exists 1password ; then
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
action "Installing 1password..."
sudo apt -qq update && sudo apt -qq install -y 1password
sudo apt -qq update > /dev/null && sudo apt -qq install -y 1password > /dev/null
{{ end }}
else
ok "Skipping"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if eq .chezmoi.os "linux" }}
{{- if eq .chezmoi.os "linux" -}}

{{ template "common" . }}

Expand Down Expand Up @@ -26,4 +26,4 @@ else
ok "Fira Code already installed!"
fi

{{ end }}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if ! _exists gh ; then
answer=$(prompt "Would you like to install GitHub cli?")
if [[ $answer =~ ^[Yy]$ ]] ;then
{{ if eq .osid "linux-debian" -}}
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
type -p curl >/dev/null || (sudo apt -qq update && sudo apt -qq install curl -y)
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
Expand Down
2 changes: 1 addition & 1 deletion home/.chezmoiscripts/run_once_after_11_eza-setup.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ! _exists eza ; then
action "Setting permissions..."
sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
action "Installing..."
sudo apt -qq update && sudo apt -qq install -y eza
sudo apt -qq update > /dev/null && sudo apt -qq install -y eza > /dev/null
{{ end }}
else
ok "Skipping"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

bot "Updating apt packages"

sudo apt-get -qq update
sudo apt-get -qq update > /dev/null

{{ range .packages.debian.apt -}}
action "Installing {{ . | quote }}..."
sudo apt-get -qq install -y {{ . | quote }}
sudo apt-get -qq install -y {{ . | quote }} > /dev/null
{{ end -}}

ok
Expand Down

0 comments on commit 579b636

Please sign in to comment.