Install Bitwarden CLI

This commit is contained in:
Gerald Pinder
2025-01-16 22:59:21 -05:00
parent e8f7eb32b2
commit 4c1e914bd6
3 changed files with 10 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env nu
http get https://vault.bitwarden.com/download/?app=cli&platform=linux | save /tmp/bitwarden.zip
^unzip /tmp/bitwarden.zip -d /usr/bin/
rm /tmp/bitwarden.zip

View File

@@ -34,8 +34,8 @@ modules:
- carapace-bin
- https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
- type: script
snippets:
- echo "/usr/bin/nu" >> /etc/shells
scripts:
- install-bitwarden.nu
- type: systemd
user:
enabled:

View File

@@ -28,8 +28,8 @@ modules:
- util-linux
- carapace-bin
- type: script
snippets:
- echo "/usr/bin/nu" >> /etc/shells
scripts:
- install-bitwarden.nu
- type: systemd
user:
enabled: