Add hishtory install step to onchange pkg installer

This commit is contained in:
2024-11-07 14:07:19 -06:00
parent 8f3a48f502
commit 5fdb983c38

View File

@@ -3,6 +3,16 @@
# libpq-dev libssh-dev libsqlite3-dev
echo "chezmoi: Installing packages"
sudo apt install micro iperf3 ripgrep unzip p7zip-full zsh fish nmap curl git reptyr sqlite
echo "chezmoi: Installing hishtory"
export HISHTORY_SERVER="https://hsh.{{ template "keys.tmpl" "privateDomain" }}"
export HISHTORY_SKIP_INIT_IMPORT='true'
curl https://hishtory.dev/install.py | python3 - --offline --skip-config-modification
echo "chezmoi: This may take some time while the hishtory database is populated."
hishtory init {{ (rbw "hishtory-user_secret").data.password }} --force
hishtory syncing enable
{{- else if eq .chezmoi.os "darwin" -}}
#!/bin/sh
brew install ripgrep