/.dotfiles

Primary LanguageShellMIT LicenseMIT

.dotfiles

Setup

  1. Clone this repo
    git clone git@github.com:christiansiegel/.dotfiles.git ~/.dotfiles
  2. Install rcm
    sudo apt install rcm -y
    # or
    brew install rcm
  3. Link the rcm config only
    rcup -v rcrc
  4. Dry run to see which files will be symlinked
    lsrc
  5. Link the dotfiles
    rcup -v
  6. Install ZSH
    sudo apt install zsh -y
    chsh -s $(which zsh)
  7. Install zsh-syntax-highlighting
    sudo apt install zsh-syntax-highlighting -y
    # or
    brew install zsh-syntax-highlighting
  8. Install pure
    git clone https://github.com/sindresorhus/pure.git ~/.zsh-pure
  9. Install znazzy terminal theme (e.g. for iTerm2: https://github.com/sindresorhus/iterm2-snazzy)

Adding new files to the project

mkrc ~/<DOT_FILENAME>

# Example
mkrc ~/.zshrc

See also rcm tutorial

Note: The original file will be deleted and symlinked from ~/.dotfiles back to its original location.