forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
43 lines (31 loc) · 863 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
37
38
39
40
41
42
43
# Set custom prompt
setopt PROMPT_SUBST
autoload -U promptinit
promptinit
prompt aeo
# Add paths
export PATH="$HOME/bin:$PATH"
# Initialize completion
autoload -U compinit
compinit -D
# Colorize terminal
alias ls='ls -G'
alias ll='ls -lG'
alias c='clear'
alias k='kubectl'
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"
export GREP_OPTIONS="--color"
# Nicer history
export HISTSIZE=100000
export HISTFILE="$HOME/.history"
export SAVEHIST=$HISTSIZE
# Use vim as the editor
export EDITOR=vi
# set up autojump
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
export AWS_SDK_LOAD_CONFIG=true
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/local/bin/terraform terraform
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi