Created
March 12, 2021 20:22
-
-
Save noahrichards/09ae480a0e874c5371dde6b9c0f29c38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim for everything! | |
EDITOR="vim" | |
VISUAL="vim" | |
# Make vim use tabs, please. | |
alias vim="vim -p" | |
# Yup, definitely worked at Google. | |
alias blaze='bazel' | |
GIT_PS1_SHOWDIRTYSTATE='yesplz' | |
# Set prompt to this (with colors): | |
# user@host [path] | |
PROMPT='%F{green}%n%m%f [%F{blue}%~%f]%# ' | |
# Case-insensitive globbing | |
setopt NO_CASE_GLOB | |
# Typing a raw directory name will automatically `cd` to it. | |
setopt AUTO_CD | |
# History | |
# | |
# Save history between runs. | |
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history | |
# Share it across sessions. | |
setopt SHARE_HISTORY | |
# Append it (immediately) | |
setopt APPEND_HISTORY | |
setopt INC_APPEND_HISTORY | |
# Get rid of dups when storing and searching. | |
setopt HIST_EXPIRE_DUPS_FIRST | |
setopt HIST_IGNORE_DUPS | |
setopt HIST_FIND_NO_DUPS | |
setopt HIST_REDUCE_BLANKS | |
# When using !!, make me hit enter to confirm. | |
setopt HIST_VERIFY | |
# Correct my typos, please! | |
setopt CORRECT | |
setopt CORRECT_ALL | |
autoload -Uz compinstall | |
# The following lines were added by compinstall | |
zstyle ':completion:*' completer _complete _ignored _approximate | |
zstyle ':completion:*' list-colors '' | |
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' | |
zstyle :compinstall filename '/Users/noah/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment