Mercurial > dotfiles
changeset 1091:a1fab5298ef6 draft tip
feat: update to bitwarden 25.3 and enable ssh-agent
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Mon, 21 Apr 2025 20:13:02 +0200 |
parents | 527772a66bec |
children | |
files | .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl dot_config/private_fish/config.fish |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl Mon Apr 14 21:55:47 2025 +0200 +++ b/.chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl Mon Apr 21 20:13:02 2025 +0200 @@ -6,8 +6,9 @@ sudo apt install -y libnss3 libsecret-1-0 libxss1 DOWNLOADFILE=/tmp/bitwarden.deb -curl -fsSL "https://github.com/bitwarden/clients/releases/download/cli-v2024.2.0/bw-linux-2024.2.0.zip" | zcat | install -m 755 /dev/stdin $HOME/bin/bw -curl -fsSL "https://github.com/bitwarden/clients/releases/download/desktop-v2024.2.0/Bitwarden-2024.2.0-amd64.deb" > $DOWNLOADFILE +VERSION="2025.3.0" +curl -fsSL "https://github.com/bitwarden/clients/releases/download/cli-v${VERSION}/bw-linux-${VERSION}.zip" | zcat | install -m 755 /dev/stdin $HOME/bin/bw +curl -fsSL "https://github.com/bitwarden/clients/releases/download/desktop-v${VERSION}/Bitwarden-${VERSION}-amd64.deb" > $DOWNLOADFILE sudo dpkg --install --skip-same-version $DOWNLOADFILE rm -rf $DOWNLOADFILE
--- a/dot_config/private_fish/config.fish Mon Apr 14 21:55:47 2025 +0200 +++ b/dot_config/private_fish/config.fish Mon Apr 21 20:13:02 2025 +0200 @@ -20,6 +20,10 @@ $HOME/.fzf/bin/fzf --fish | source +if test -e "$HOME/.bitwarden-ssh-agent.sock" + set -x SSH_AUTH_SOCK "$HOME/.bitwarden-ssh-agent.sock" +end + if status is-interactive # Commands to run in interactive sessions can go here