-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
60 lines (46 loc) · 1.34 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
60
# completion
autoload -Uz compinit
compinit
# load custom executable functions
for function in ~/.zsh/functions/*; do
source $function
done
# ensure dotfiles bin directory is loaded first
export PATH="$HOME/.bin:/usr/local/sbin:$HOME/.composer/vendor/bin:$PATH"
# makes color constants available
autoload -U colors
colors
# enable colored output from ls, etc
export CLICOLOR=1
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"
# history settings
setopt hist_ignore_all_dups inc_append_history
HISTFILE=~/.zhistory
HISTSIZE=4096
SAVEHIST=4096
# awesome cd movements from zshkit
setopt autocd autopushd pushdminus pushdsilent pushdtohome cdablevars
DIRSTACKSIZE=5
# Enable extended globbing
setopt extendedglob
source "$HOME/.antigen/antigen.zsh"
antigen-use oh-my-zsh
antigen bundle unixorn/autoupdate-antigen.zshplugin
antigen-bundle arialdomartini/oh-my-git
antigen bundle akoenig/gulp.plugin.zsh
antigen theme ys
antigen bundle git
antigen bundle node
antigen bundle npm
antigen bundle vagrant
antigen bundle sudo
antigen bundle zsh-users/zsh-syntax-highlighting
# Include local zsh config
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
# Include aliases
[[ -f ~/.aliases ]] && source ~/.aliases
antigen apply
# Include aliases
[[ -f ~/.aliases ]] && source ~/.aliases
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
fortune | cowsay