-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
70 lines (50 loc) · 1.82 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# in ~/.zshenv, executed `unsetopt GLOBAL_RCS` and ignored /etc/zshrc
[ -r /etc/zshrc ] && . /etc/zshrc
# -------------------------------------
# Base Configurations
# -------------------------------------
source "$HOME/.zsh/rc/base.zsh"
# -------------------------------------
# Options
# -------------------------------------
source "$HOME/.zsh/rc/option.zsh"
# -------------------------------------
# Prompt
# -------------------------------------
source "$HOME/.zsh/rc/prompt.zsh"
# -------------------------------------
# Aliases
# -------------------------------------
source "$HOME/.zsh/rc/alias.zsh"
# -------------------------------------
# Key binds
# -------------------------------------
source "$HOME/.zsh/rc/keybind.zsh"
# -------------------------------------
# Functions
# -------------------------------------
source "$HOME/.zsh/rc/function.zsh"
# -------------------------------------
# Completions
# -------------------------------------
source "$HOME/.zsh/rc/completion.zsh"
# -------------------------------------
# zplugin
# -------------------------------------
source "$HOME/.zsh/rc/plugin.zsh"
# -------------------------------------
# .zshrc.local
# -------------------------------------
[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local"
# -------------------------------------
# op
# -------------------------------------
[ -f "/opt/homebrew/bin/op" ] && source "$HOME/.config/op/plugins.sh"
# -------------------------------------
# mise
# -------------------------------------
[ -e "/opt/homebrew/bin/mise" ] && eval "$(mise activate zsh)"
# -------------------------------------
# aqua
# -------------------------------------
[ -d "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin" ] && export PATH="${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin:$PATH"