changeset 841:8afe3c7a5a35

feat: install bitwarden cli
author zegervdv <zegervdv@me.com>
date Sat, 10 Feb 2024 10:36:44 +0100
parents f3e87577dd3a
children e9fc2263c225
files .chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.chezmoiscripts/run_onchange_after_19-install-bitwarden.sh.tmpl	Sat Feb 10 10:36:44 2024 +0100
@@ -0,0 +1,9 @@
+{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}}
+#!/usr/bin/env bash
+
+set -xe
+
+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
+
+
+{{ end }}