-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
57 lines (39 loc) · 1.22 KB
/
zshrc
File metadata and controls
57 lines (39 loc) · 1.22 KB
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
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
if [ -n "$DISPLAY" -a "$TERM" = "xterm" ]; then
export TERM=xterm-256color
fi
alias tmux="TERM=screen-256color-bce tmux"
export EDITOR='nvim'
fpath+=("/usr/local/share/zsh/site-functions")
autoload -U promptinit && promptinit
prompt pure
ZSH_THEME="pure"
plugins=(gem brew rvm git rails bundler git-flow ruby vagrant pip python lein zsh-syntax-highlighting vi-mode tmux tmuxinator)
source $ZSH/oh-my-zsh.sh
export LC_ALL=en_GB.UTF-8
export LANG=en_GB.UTF-8
bindkey '^r' history-incremental-search-backward
bindkey '^a' beginning-of-line
bindkey '^e' end-of-line
bindkey '^f' emacs-forward-word
bindkey '^b' emacs-backward-word
eval "$(rbenv init -)"
### Added by the Heroku Toolbelt
export PATH="/usr/local/bin:/usr/local/heroku/bin:$PATH"
### Added npm binaries
export PATH="/usr/local/share/npm/bin:$PATH"
### Added for xmllint
export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"
export PATH="/usr/local/sbin:$PATH"
if [ -f ~/.aliases ]; then
. ~/.aliases
fi
if [ -f ~/.git_helpers ]; then
. ~/.git_helpers
fi
if [ -f ~/.zsh_login ]; then
. ~/.zsh_login
fi
export NVM_DIR="/Users/alex/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm