add chezmoi instructions and improve bw-cli instructions

main
Andrew Coleman 2022-05-10 15:34:34 -04:00
parent aeb874001e
commit b1856d8b2f
1 changed files with 13 additions and 1 deletions

View File

@ -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/"
```