-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zshrc
65 lines (50 loc) · 1.5 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
61
62
63
64
65
#!/bin/zsh
export TERM="xterm-256color"
source $HOME/.antigen.zsh
export EDITOR="/usr/bin/vim"
export POWERLINE_CONFIG_COMMAND=$HOME/.vim/bundle/powerline/scripts/powerline-config
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle pip
antigen bundle command-not-found
antigen bundle vundle
antigen bundle vi-mode
antigen bundle jump
antigen bundle virtualenvwrapper
antigen bundle nojhan/liquidprompt
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the theme.
# antigen theme robbyrussell
# antigen theme caiogondim/bullet-train-oh-my-zsh-theme bullet-train
# antigen theme codebleu/bullet-train-oh-my-zsh-theme bullet-train
# Tell antigen that you're done.
antigen apply
# BulletTrain Theme config
BULLETTRAIN_PROMPT_ADD_NEWLINE=false
BULLETTRAIN_PROMPT_SEPARATE_LINE=false
BULLETTRAIN_DIR_BG="cyan"
BULLETTRAIN_DIR_FG="black"
BULLETTRAIN_VIRTUALENV_FG="black"
BULLETTRAIN_GIT_COLORIZE_DIRTY=true
# BULLETTRAIN_GIT_COLORIZE_DIRTY_FG_COLOR="red"
BULLETTRAIN_IS_SSH_CLIENT=true
BULLETTRAIN_TIME_SHOW=false
autoload -U compinit promptinit
compinit
# promptinit; prompt gentoo
zstyle ':completion::complete:*' use-cache 1
bindkey '^R' history-incremental-search-backward
# Set Options
setopt CORRECT
# Set Aliases
alias .="source"
if [ `lsb_release -i | grep -ioP '(?<=distributor\sid\:\s)(\w*)'`='Gentoo' ]; then
alias nudav="sudo emerge -NuDav world"
fi
#Bind Keys
#
#vi-mode
bindkey -v