-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zimrc
41 lines (32 loc) · 1.15 KB
/
.zimrc
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
### Modules ###
# Sets sane Zsh built-in environment options.
zmodule environment
# Provides handy git aliases and functions.
zmodule git
# Applies correct bindkeys for input events.
zmodule input
# Sets a custom terminal title.
zmodule termtitle
# Utility aliases and functions. Adds colour to ls, grep and less.
zmodule utility
### Prompt ###
zmodule romkatv/powerlevel10k
### Completion ###
# Additional completion definitions for Zsh.
zmodule zsh-users/zsh-completions --fpath src
# Enables and configures smart and extensive tab completion. Must be sourced after all modules that add completion definitions.
if [[ -d /opt/homebrew/share/zsh ]] && [[ $(uname) == Darwin ]] && [[ $(uname -m) == arm64 ]] ; then
zmodule /opt/homebrew/share/zsh/site-functions --fpath .
fi
zmodule completion
### Modules that must be initialized last ###
zmodule zsh-users/zsh-syntax-highlighting
zmodule zsh-users/zsh-history-substring-search
zmodule zsh-users/zsh-autosuggestions
### Custom Modules ###
zmodule romkatv/zsh-defer -d
zmodule mroth/evalcache
zmodule softmoth/zsh-vim-mode
zmodule zsh-vi-more/evil-registers
zmodule ohmyzsh/ohmyzsh --root plugins/fzf
zmodule fzf