-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
78 lines (59 loc) · 1.84 KB
/
zshrc
File metadata and controls
78 lines (59 loc) · 1.84 KB
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
71
72
73
74
75
76
77
HOSTNAME=$(hostname -s)
# Source shared environment between Bash and Zsh
source_sh () {
emulate -LR sh
. "$@"
}
# Allow local customizations in the ~/.shell_local_before file
if [ -f $HOME/.shell_local_before ]; then
source $HOME/.shell_local_before
fi
# Allow local customizations in the ~/.zshrc_local_before file
if [ -f $HOME/.zshrc_local_before ]; then
source $HOME/.zshrc_local_before
fi
# Load all files from .shell/zshrc.d directory
if [ -d $HOME/.shellrc/common/zshrc.d ]; then
for file in $HOME/.shellrc/common/zshrc.d/*.zsh; do
source $file
done
fi
if [ -d $HOME/.shellrc/local/${HOSTNAME}/zshrc.d ]; then
for file in $HOME/.shellrc/local/${HOSTNAME}/zshrc.d/*.zsh; do
source $file
done
fi
# Load all files from .shell/rc.d directory
if [ -d $HOME/.shellrc/common/rc.d ]; then
for file in $HOME/.shellrc/common/rc.d/*.sh; do
source $file
done
fi
if [ -d $HOME/.shellrc/local/${HOSTNAME}/rc.d ]; then
for file in $HOME/.shellrc/local/${HOSTNAME}/rc.d/*.sh; do
source $file
done
fi
# Allow local customizations in the ~/.shell_local_after file
if [ -f $HOME/.shell_local_after ]; then
source $HOME/.shell_local_after
fi
# Allow local customizations in the ~/.zshrc_local_after file
if [ -f $HOME/.zshrc_local_after ]; then
source $HOME/.zshrc_local_after
fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
alias gam="$HOME/bin/gam7/gam"
# added by Snowflake SnowflakeCLI installer v1.0
export PATH="$HOME/Applications/SnowflakeCLI.app/Contents/MacOS/:$PATH"
source "$HOME/.config/broot/launcher/bash/br"
export PATH="$HOME/.local/bin:$PATH"
# Added by Antigravity
export PATH="$HOME/.antigravity/antigravity/bin:$PATH"
# opencode
export PATH="$HOME/.opencode/bin:$PATH"
# bun completions
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"