-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
39 lines (28 loc) · 929 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
# Path to the oh-my-zsh installation
export ZSH=$HOME/.oh-my-zsh
# User path configuration
source "$HOME/Workspace/dotfiles/constants"
source "$DOT/aliases"
source "$DOT/dev"
# Disable auto-setting terminal title
DISABLE_AUTO_TITLE="true"
# Enable command auto-correction
ENABLE_CORRECTION="true"
# Display red dots whilst waiting for completion
COMPLETION_WAITING_DOTS="true"
# Specify plugins to load
# Look in ~/.oh-my-zsh/custom/plugins/
plugins=(gitfast)
# Load oh-my-zsh
source $ZSH/oh-my-zsh.sh
# Set the language environment
export LANG=en_US.UTF-8
# Theme
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}("
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[magenta]%}●%{$fg[green]%})%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN=")%{$reset_color%} "
PROMPT='%{$fg[blue]%}%1~%{$reset_color%} $(git_prompt_info)»%b '
# direnv
eval "$(direnv hook zsh)"
alias refreshenv=". ~/.zshrc"