-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
37 lines (28 loc) · 844 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
# ---------------------------------
# zsh configuration file
# ---------------------------------
limit coredumpsize 0
autoload -Uz compinit && compinit -u
autoload -Uz colors && colors
autoload -Uz add-zsh-hock
autoload -Uz is-at-latest
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
# Load plugins with zinit.
if [[ -d "${ZINIT_HOME}" ]]; then
source "${ZINIT_HOME}/zinit.zsh"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
zinit light-mode for \
zdharma-continuum/zinit-annex-as-monitor \
zdharma-continuum/zinit-annex-bin-gem-node \
zdharma-continuum/zinit-annex-patch-dl \
zdharma-continuum/zinit-annex-rust
source "${HOME}/.zsh/zinit.zsh"
fi
# Activate mise
eval "$(mise activate zsh)"
# Load config files.
for f in ${HOME}/.zsh/[0-9]*.(sh|zsh)
do
source "${f}"
done