/dotfiles

Primary LanguageShell

dotfiles

How to use

Configure bitwarden cli

  1. Install cli
  • For Arch linux
sudo pacman -S bitwarden-cli
  • Ubuntu
wget -qO- https://vault.bitwarden.com/download/?app=cli&platform=linux | sudo busybox unzip -d /usr/local/bin - && sudo chmod +x /usr/local/bin/bw
  1. Then you can login to your account
$ bw login
? Email address: <your-email-address>
? Master password: [hidden]
You are logged in!
  1. Unlock your Bitwarden vault:
bw unlock
  1. Set the BW_SESSION environment variable, as instructed.
export BW_SESSION=<your-bitwarden-session-token>

Download and apply chezmoi

$ sh -c "$(wget -qO- git.io/chezmoi)" -- init --apply afranioce