-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
47 lines (38 loc) · 990 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
# if not running interactively, don't do anything
[[ $- == *i* ]] || return
# check terminal type
case "$TERM" in
(tramp | dumb | xterm-mono)
PS1='$ '
unset RPROMPT
unset RPS1
whence -w precmd >/dev/null && unfunction precmd
whence -w preexec >/dev/null && unfunction preexec
unsetopt zle
unsetopt zle_bracketed_paste
unsetopt prompt_cr
unsetopt prompt_subst
unsetopt rcs
return
;;
esac
# init antigen
source "$HOME/antigen.zsh"
# access oh-my-zsh stuff
antigen use oh-my-zsh
# best theme
antigen theme kphoen
# oh-my-zsh plugins
antigen bundle git
antigen bundle extract
antigen bundle colored-man-pages
# extra github plugins
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle hlissner/zsh-autopair
antigen apply
# bindings
source "$HOME/.zsh_zle"
# misc
source "$HOME/.zsh_misc"