-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
58 lines (50 loc) · 1.52 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
# -*- mode: sh -*-
################################################################################
#
# ZSH Setup
#
################################################################################
setup-zsh() {
export ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
export ZSH_THEME=risto
}
# NOTE: zsh-syntax-highlighting must be last
setup-zsh-plugins() {
plugins=(
personalize
brew
colorize
cp
fzf
kubectl
sudo
tmux
urltools
zsh-completions
zsh-syntax-highlighting
)
}
setup-oh-my-zsh-custom() {
ZSH_CUSTOM="${HOME}"/.oh-my-zsh-custom
if [ ! -d "${ZSH_CUSTOM}" ]; then
git clone https://github.com/tya/oh-my-zsh-custom "${ZSH_CUSTOM}"
fi
}
setup-oh-my-zsh() {
ZSH="${HOME}"/.oh-my-zsh
if [ ! -d "${ZSH}" ]; then
git clone https://github.com/robbyrussell/oh-my-zsh "${ZSH}"
fi
source $ZSH/oh-my-zsh.sh
}
setup-displays() {
displayplacer "id:0CD51158-24CC-E8D1-C2B9-EE9B35FBD29F res:1792x1120 hz:59 color_depth:4 scaling:on origin:(0,0) degree:0" "id:A0662C74-8FE0-0445-FE47-AA33F77E11AC res:3840x2160 hz:60 color_depth:8 scaling:off origin:(-1053,-2160) degree:0" "id:9F475783-A21A-8B91-9990-F672E07C3D34 res:1692x3008 hz:60 color_depth:8 scaling:on origin:(2787,-2095) degree:270" "id:5B3D37D8-7F31-60EB-BB18-349C8FBC7406 res:1692x3008 hz:60 color_depth:8 scaling:on origin:(-2745,-2097) degree:90"
}
setup() {
setup-zsh
setup-zsh-plugins
setup-oh-my-zsh-custom
setup-oh-my-zsh
}
setup
#[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh