-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
44 lines (32 loc) · 874 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
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
source /Users/liying/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle heroku
antigen bundle pip
antigen bundle lein
antigen bundle command-not-found
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
#antigen theme robbyrussell
#antigen theme candy
antigen theme agnoster
antigen apply
#load bashrc and aliases, CAREFUL, MIGHT NEED STH INSIDE SOMETIMES
#if [ -f ~/.bashrc ] ; then
# source ~/.bashrc
#fi
if [ -f ~/.bash_aliases ] ; then
source ~/.bash_aliases
fi
if [ -f ~/.profile ] ; then
source ~/.profile
fi
#hide the device name
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)$USER"
fi
}