From b1856d8b2f0298817b5bcb912eb68f5f6d69035b Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 10 May 2022 15:34:34 -0400 Subject: [PATCH] add chezmoi instructions and improve bw-cli instructions --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 36cf4cc..e9b994f 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,6 @@ pamac install \ base-devel \ bash-completion \ bat \ - bitwarden-cli \ bottom \ direnv \ dust \ @@ -84,6 +83,7 @@ pamac install \ starship \ tealdeer \ tmux \ + unzip \ vim \ virt-manager \ zoxide @@ -95,10 +95,16 @@ pamac build lightly-qt # Bitwarden ```bash +curl -Lo bw.zip 'https://vault.bitwarden.com/download/?app=cli&platform=linux' +unzip bw.zip +mkdir -p "$HOME/.local/bin" "$HOME/.config/bash" +install -m 755 bw "$HOME/.local/bin/" +rm -f bw bw.zip bw config server https://bitwarden.penguincoder.org bw login echo "export BW_SESSION=$(bw unlock --raw)" > "$HOME/.config/bash/bitwarden.sh" source "$HOME/.config/bash/bitwarden.sh" +bw sync ``` # Kitty @@ -123,3 +129,9 @@ sh <(curl -L https://nixos.org/nix/install) --daemon curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` +# Chezmoi + +```bash +sh -c "$(curl -fsLS chezmoi.io/get)" +mv ./bin/chezmoi "$HOME/.local/bin/" +```