-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
49 lines (40 loc) · 1017 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
44
45
46
47
48
49
############################
# Oh My Zsh configuration. #
############################
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# robbyrussell - Default theme.
#ZSH_THEME="robbyrussell"
# powerlevel9k - Theme configuration.
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir rbenv vcs)
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=false
# Plugins.
plugins=(git)
# Source Oh My Zhs.
source $ZSH/oh-my-zsh.sh
##########################
# OS dependent settings. #
##########################
if [[ `uname` == "Linux" ]]; then
source ~/.zshrc_linux
elif [[ `uname` == "Darwin" ]]; then
source ~/.zshrc_mac
else
echo 'Unknown OS!'
fi
#################
# Load aliases. #
#################
source ~/.zsh_aliases
#####################
# Private settings. #
#####################
if [[ -f ~/.zshrc_private ]]; then
source ~/.zshrc_private
fi
##################
# Enable direnv. #
##################
eval "$(direnv hook zsh)"