Install Bitwarden CLI
This commit is contained in:
6
files/scripts/install-bitwarden.nu
Normal file
6
files/scripts/install-bitwarden.nu
Normal 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
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user