-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
38 lines (31 loc) · 1.1 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
# Plugin manager
source $HOME/.zsh/zinit/zinit.zsh \
|| (git clone --depth 1 https://github.com/zdharma-continuum/zinit.git $HOME/.zsh/zinit && exec zsh)
# Theme
zinit light-mode depth=1 atload="source $HOME/.p10k.zsh" for romkatv/powerlevel10k
# Plugin list
zinit wait lucid light-mode depth=1 nocd for \
atinit'ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay' zdharma-continuum/fast-syntax-highlighting \
atload='_zsh_autosuggest_start' zsh-users/zsh-autosuggestions \
atload='MODE_CURSOR_VIINS="bar"; vim-mode-cursor-init-hook' softmoth/zsh-vim-mode
zinit wait lucid is-snippet for \
https://github.com/ahmetb/kubectl-aliases/blob/master/.kubectl_aliases \
https://github.com/ajeetdsouza/zoxide/blob/main/zoxide.plugin.zsh \
https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh
# Options
setopt \
autocd \
autopushd \
histignorealldups \
histignorespace \
sharehistory
# Disable right prompt indent
ZLE_RPROMPT_INDENT=0
# History
HISTFILE=$HOME/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
# Key bindings
export KEYTIMEOUT=1
# Aliases
source $HOME/.aliases