/.dotfiles

dotfile config for bash + tmux in wsl

Primary LanguageShell

.dotfiles

dotfile config for bash + tmux in wsl


Setup

To ease setup, use GNU stow

sudo apt install stow
cd .dotfiles
stow .

the --adopt flag can be used to overwrite what's in the .dotfiles directory with existing files, if you get a conflict error. This will overwrite what is currently in .dotfiles with your existing file If you don't want this, and would rather overwrite existing files with the .dotfiles, simply delete the existing ones and run .stow . again.

stow --adopt .

Useful youtube video

Github setup

Install git-credential-manager

git-credential-manager

Install gpg

sudo apt install gpg

Set key

gpg --full-generate-key

This command will provide options. Defaults should suffice

Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
  (14) Existing key from card

Get your generated key id

gpg --list-secret-keys

Install pass

sudo apt install pass

Init pass with the key id

pass init "GPG_KEY"

You should now be set up!

Troubleshooting:

gpg: public key decryption failed: Timeout

Try: gpgconf --kill gpg-agent