annotate .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl @ 841:8afe3c7a5a35
feat: install bitwarden cli
author |
zegervdv <zegervdv@me.com> |
date |
Sat, 10 Feb 2024 10:36:44 +0100 |
parents |
|
children |
e9fc2263c225 |
rev |
line source |
841
|
1 {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}}
|
|
2 #!/usr/bin/env bash
|
|
3
|
|
4 set -xe
|
|
5
|
|
6 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
|
|
7
|
|
8
|
|
9 {{ end }}
|