-
Notifications
You must be signed in to change notification settings - Fork 3
/
.zshrc
59 lines (42 loc) · 1.15 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# autoloads (should be loaded prior to files below)
source "$HOME/.zsh/autoloads.zsh"
## GENERAL
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
#The following lines were added by compinstall
zstyle :compinstall filename "$HOME/.zshrc"
# set timeout for switching modes to be very low
export KEYTIMEOUT=1
# source files
typeset -ga sources
# exports
sources+="$HOME/.zsh/exports.zsh"
# bindings
sources+="$HOME/.zsh/bindings.zsh"
# aliases
sources+="$HOME/.zsh/aliases.zsh"
# prompt specific configs
sources+="$HOME/.zsh/prompt.zsh"
# FZF specific configs
sources+="$HOME/.zsh/fzf.zsh"
# rbenv specific configs
sources+="$HOME/.zsh/rbenv.zsh"
# nvm specific configs
sources+="$HOME/.zsh/nvm.zsh"
# pyenv specific configs
sources+="$HOME/.zsh/pyenv.zsh"
# iterm2 integration
sources+="$HOME/.zsh/iterm2_integration.zsh"
# Brex specific configs
sources+="$HOME/.zsh/work.zsh"
# MacOS only opens a login shell once, so subsequent shells won't load
# ~/.zprofile. Explicitly load it here.
sources+="$HOME/.zprofile"
# include all sources
foreach file (`echo $sources`)
if [[ -a $file ]]; then
source $file
fi
end