- Install Git
-
Install Homebrew
-
Run
brew install git gpg pinentry-mac echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf gpg-connect-agent reloadagent /bye
-
Run
sudo apt update sudo apt install -y curl git zsh
Install Oh My Zsh:
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zshMake Zsh your default shell:
chsh -s /bin/zshDownload and run the install script. Alternatively, run the following:
sh -c "$(curl -s https://gist.github.com/stanislavHamara/0b59c210e1f3f796d39c19b9113e2d33/raw/dotfiles.sh)" sh <github-username>Restart your terminal. Alternatively, run the following:
exec zshConfigure your Git user:
git config --file ~/.gitconfig.user user.name "<name>"
git config --file ~/.gitconfig.user user.email "<email>"
git config --file ~/.gitconfig.user user.signingkey "<signing-key>"If you're using Keybase, configure your PGP key:
keybase pgp export | gpg --import
keybase pgp export --secret | gpg --allow-secret-key-import --import