-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzshrc
32 lines (24 loc) · 837 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
HISTSIZE=10000
SAVEHIST=10000
bindkey -v
bindkey '^[[A' up-line-or-search
bindkey '^[[B' down-line-or-search
autoload -Uz compinit promptinit colors
compinit
promptinit
colors
#PS1="${GREEN}%n@${ORANGE}%T %D ${BLUE}~ %# ${NORM}"
RPROMPT="%{$fg[blue]%}%~%{$reset_color%} %{$fg[green]%}[%?]%{$reset_color%}%{$fg[blue]%}%T%{$reset_color%}"
source ~/.config/profile
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Anaconda my env
source activate python37
# AutoJump
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
#zsh completions have been installed to:
# /usr/local/share/zsh/site-functions