Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 2.35 KB

README.md

File metadata and controls

59 lines (44 loc) · 2.35 KB

Installation

  1. git clone [email protected]:ampersandre/dotfiles.git

Install iTerm2

  1. https://www.iterm2.com/

Install a patched font

Set this font in iTerm2 (iTerm → Preferences → Profiles → Text → Change Font) for "Font" and for "Non-ASCII Font". Restart iTerm2.

Enable word jumps and word deletion, aka natural text selection

By default, word jumps (option + → or ←) and word deletions (option + backspace) do not work. To enable these, go to "iTerm → Preferences → Profiles → Keys → Load Preset... → Natural Text Editing"

Zsh Setup

  1. Install zsh: brew install zsh
  2. Install oh-my-zsh: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  3. Install powerlevel9k: git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
  4. Install zsh-completions plugin: git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
  5. Install zsh-syntax-highlighting: git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
  6. Install zsh-autosuggestions: git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

Zsh Config Usage

  1. Add the following to the top of your own ~/.zshrc file
source ~/path/to/dotfiles/.zshrc
  1. Add your own settings beneath that to suit your needs

Profile Config Usage

  1. Add the following to the top of your own ~/.profile file
source ~/path/to/dotfiles/.profile
  1. Add your own settings beneath that to suit your needs

Gitconfig Usage

  1. Add the following to the top of your own ~/.gitconfig file
[include]
    path = ~/path/to/dotfiles/.gitconfig
  1. Add your own settings beneath that to suit your needs

See aliases

  1. Run git aliases to list aliases

Resources