-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
42 lines (34 loc) · 1.32 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
alias vim="nvim"
alias ls="ls -alG"
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
export PATH="$HOME/Tizen/tizen-studio/tools:$HOME/go/bin:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
bindkey -v
#source "$HOME/.local/share/zsh-plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
#
source "$HOME/.local/share/zsh-plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh"
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
function zvm_after_select_vi_mode() {
case $ZVM_MODE in
$ZVM_MODE_NORMAL)
# Something you want to do...
export PROMPT="%F{cyan}>>%F{yellow}%B[%3~]%f %(?.%F{green}+.%F{red}-)%f%b %# "
;;
$ZVM_MODE_INSERT)
# Something you want to do...
export PROMPT="%F{yellow}%B[%3~]%f %(?.%F{green}+.%F{red}-)%f%b %# "
;;
$ZVM_MODE_VISUAL)
# Something you want to do...
export PROMPT="%F{cyan}||%F{yellow}%B[%3~]%f %(?.%F{green}+.%F{red}-)%f%b %# "
;;
$ZVM_MODE_VISUAL_LINE)
# Something you want to do...
export PROMPT="%F{yellow}%B[%3~]%f %(?.%F{green}+.%F{red}-)%f%b %# "
;;
$ZVM_MODE_REPLACE)
# Something you want to do...
export PROMPT="%F{yellow}%B[%3~]%f %(?.%F{green}+.%F{red}-)%f%b %# "
;;
esac
}