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
|
- carapace-bin
|
||||||
- https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
|
- https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
|
||||||
- type: script
|
- type: script
|
||||||
snippets:
|
scripts:
|
||||||
- echo "/usr/bin/nu" >> /etc/shells
|
- install-bitwarden.nu
|
||||||
- type: systemd
|
- type: systemd
|
||||||
user:
|
user:
|
||||||
enabled:
|
enabled:
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ modules:
|
|||||||
- util-linux
|
- util-linux
|
||||||
- carapace-bin
|
- carapace-bin
|
||||||
- type: script
|
- type: script
|
||||||
snippets:
|
scripts:
|
||||||
- echo "/usr/bin/nu" >> /etc/shells
|
- install-bitwarden.nu
|
||||||
- type: systemd
|
- type: systemd
|
||||||
user:
|
user:
|
||||||
enabled:
|
enabled:
|
||||||
|
|||||||
Reference in New Issue
Block a user