-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
55 lines (39 loc) · 1.9 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
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="kw"
# Uncomment the following line to disable bi-weekly auto-update checks.
DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
plugins=(
history
dirhistory
)
export TERM=xterm-256color
export LS_COLORS="di=34:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=30;42:su=0;46:sg=30;46:tw=30;46:ow=30;46"
############################## CUSTOM CONFIGS ##################################
[ -f ~/.zshrc.osx ] && source ~/.zshrc.osx
[ -f ~/.zshrc.linux ] && source ~/.zshrc.linux
[ -f ~/.zshrc.server ] && source ~/.zshrc.server
[ -f ~/.zshrc.dockercontainer ] && source ~/.zshrc.dockercontainer
### extensions, use case specific
[ -f ~/.zshrc.dockerutils ] && source ~/.zshrc.dockerutils
### use this to define configurations for ci / build specifc, or app specific zsh modifactions
### assuming for a specific docker-image or anything else. Keep .local for local / custom customization (manual)
[ -f ~/.zshrc.automated ] && source ~/.zshrc.automated
### your local, manual customization which will never get overridden by builds or CI
[ -f ~/.zshrc.local ] && source ~/.zshrc.local
############################# OUTLOOT ######################################
# needs to stay here below, since if we defined plugins in the local files above, they would not be loaded
# if we have sourced this before
source $ZSH/oh-my-zsh.sh
### oh-my-zsh overrides loading after sourcing oh-my-zsh so that one can also override aliases like ll etc.
[ -f ~/.zshrc.overrides ] && source ~/.zshrc.overrides
# Switch directories without using cd command
setopt auto_cd
# Automatically push directories to stack when using cd command
setopt auto_pushd
# allow us to use prompt
autoload -Uz promptinit && promptinit -i