Skip to content

matteeyah/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Personal dotfiles

Usage

  • Install brew - https://brew.sh/
    • Load brew in the current shell environment
      • eval "$(/opt/homebrew/bin/brew shellenv)"
  • Set up ssh
    • Install OpenSSH - brew install openssh (only on macOS)
    • RSA SSH key
      • Download the public key to ~/.ssh/id_rsa.pub
      • Download the private key to ~/.ssh/id_rsa
    • ED25519-SK key
      • Download the public key to ~/.ssh/id_ed25519_sk.pub
      • Download the private key to ~/.ssh/id_ed25519_sk
    • Add the SSH key to the SSH agent
      • eval $(ssh-agent)
      • ssh-add
  • Set up GPG
    • Install GPG - brew install gpg (only on macOS)
    • Download the public and private keys
    • Set up SmartCard Daemon (only on Linux)
    • Import the public key - gpg --import public.key
    • Import the private key - gpg --allow-secret-key-import --import private.key
  • 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 zsh your login shell with chsh -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/neovim and install plugins with :PackUpdate
  • Set up the terminal profile

This repo is structured as a symlink farm.

Available Configurations

  • 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

Packages

Required

Optional

About

dotfiles for macOS and Debian/Ubuntu — zsh, tmux and vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published