Personal dotfiles
- Install brew - https://brew.sh/
- Load
brewin the current shell environmenteval "$(/opt/homebrew/bin/brew shellenv)"
- Load
- Set up ssh
- Install OpenSSH -
brew install openssh(only on macOS) - ED25519-SK key
- Download the public key to
~/.ssh/id_ed25519_sk.pub - Download the private key to
~/.ssh/id_ed25519_sk- Change the permissions of the private key
chmod 600 ~/.ssh/id_rsa
- Change the permissions of the private key
- Download the public key to
- Add the SSH key to the SSH agent
eval $(ssh-agent)ssh-add
- Install OpenSSH -
- Set up GPG
- Install GPG (only on macOS)
brew install gpg
- Download the public and private keys
- Set up SmartCard Daemon (only on Linux) - https://blog.programster.org/yubikey-link-with-gpg
sudo apt install scdaemon
- Import the public key
gpg --import public.key
- Import the private key
gpg --allow-secret-key-import --import private.key
- Install GPG (only on macOS)
- Clone the dotfiles
git clone git@github.com:matteeyah/dotfiles.git ~/.dotfiles
- Install zinit - https://github.com/zdharma-continuum/zinit
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"- Make
zshyour login shell withchsh -s $(command -v zsh)
- Install minpac - https://github.com/k-takata/minpac
git clone git@github.com:k-takata/minpac.git ~/.vim/pack/minpac/opt/minpac- Open
vim/neovimand install plugins with:PackUpdate
- Set up the terminal profile
- Download the
Zenburnterminal config from the repo - Set the default Terminal theme to
Zenburn
- Download the
This repo is structured as a symlink farm.
- git
ln -s ~/.dotfiles/config/git/.gitconfig ~/.gitconfig
- nvim
ln -s ~/.dotfiles/config/vim/.vimrc ~/.config/nvim/init.vim
- ssh
ln -s ~/.dotfiles/config/ssh/config ~/.ssh/config
- tmux
ln -s ~/.dotfiles/config/tmux/.tmux.confg ~/.tmux.conf
- zsh
ln -s ~/.dotfiles/config/zsh/.zshrc ~/.zshrc
- gpg (mac only)
ln -s ~/.dotfiles/config/gpg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
- asdf - Manage language runtimes - https://github.com/asdf-vm/asdf
git clone git@github.com:asdf-vm/asdf.git ~/.asdfasdf plugin add rubysudo apt install build-essential libssl-dev libreadline-dev zlib1g-dev libyaml-dev libpq-dev(linux only)
- git - Version Control - https://github.com/git/git
- nvim - editor - https://github.com/neovim/neovim
- ripgrep - grep Replacment - https://github.com/BurntSushi/ripgrep
- zinit - zsh package manager - https://github.com/zdharma-continuum/zinit
- zsh - Shell - https://github.com/zsh-users/zsh
- pinentry-mac - Shell - https://github.com/GPGTools/pinentry
- fzf - Fuzzy Completer - https://github.com/junegunn/fzf
- fd - find Replacement - https://github.com/sharkdp/fd
- bat - cat Replacement - https://github.com/sharkdp/bat
- github-copilot-cli - Shell AI - https://www.npmjs.com/package/@githubnext/github-copilot-cli
- delta - diff highlighting - https://github.com/dandavison/delta
- tmux - Terminal Multiplexer - https://github.com/tmux/tmux/
- docker - Container Engine - https://github.com/docker/docker-ce