-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
71 lines (47 loc) · 1.14 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
66
67
68
69
70
71
# zsh login instances
#-----------------
# TRAMP prompt fix
#-----------------
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
#---------
# zsh init
#---------
# path to oh-my-zsh installation
export ZSH=~/.oh-my-zsh
# always auto-update
DISABLE_UPDATE_PROMPT=true
# theme
ZSH_THEME="refined"
#--------
# options
#--------
# ...
COMPLETION_WAITING_DOTS='true'
# history
HIST_STAMPS="dd.mm.yyyy"
#----------
# oh my zsh
#----------
# plugins found in ~/.oh-my-zsh/plugins/ + ~/.oh-my-zsh/custom/plugins/
plugins=(osx jsontools vi-mode tmux git git-extras z man colorize colored-man-pages docker rsync brew npm lein)
source $ZSH/oh-my-zsh.sh
. ~/.oh-my-zsh/plugins/z/z.sh
#------
# emacs
#------
# color settings
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export TERM=xterm-256color
#---------
# profiles
#---------
if [ -f ~/.profile ]; then
source ~/.profile
fi
if [ -f ~/.local_profile ]; then
source ~/.local_profile
fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion