Mercurial > dotfiles
view .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl @ 849:af787ecac7c4
fix: add missing % code to light prompt
author | Zeger Van de Vannet <zegervdv@me.com> |
---|---|
date | Fri, 23 Feb 2024 15:33:13 +0100 |
parents | 8430f87e87c8 |
children | 59bf256e6c1c |
line wrap: on
line source
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}} #!/usr/bin/env bash set -xe 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 sudo dpkg --install --skip-same-version $DOWNLOADFILE rm -rf $DOWNLOADFILE rtx x [email protected] -- cargo install rbw {{ end }}