-
Notifications
You must be signed in to change notification settings - Fork 4
/
.zshrc
36 lines (28 loc) · 785 Bytes
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# = Sethwolfwood zshrc
# github.com/sethwoodworth/dotfiles
# Zsh options
unsetopt beep
# setopt autocd
setopt completealiases # Lets me tab complete aliases
setopt inc_append_history
setopt share_history
# `cd` paths
cdpath=($HOME/code)
# == History
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=100000
bindkey '^R' history-incremental-search-backward
# Zsh autoload extensions and configs
autoload edit-command-line
zle -N edit-command-line
bindkey '^E' edit-command-line
autoload -Uz colors compinit
colors
compinit
zstyle :compinstall filename '${HOME}/.zshrc'
zstyle ':completion:*' menu select
# Load a fortune on term launch
[ command -v fortune >/dev/null 2>&1 ] && fortune ~/.config/fortune/
source $XDG_CONFIG_HOME/aliases/aliases
for f (~/.config/zsh/zshrc.d/*) . $f