-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshrc
executable file
·25 lines (21 loc) · 951 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
###[ Fig pre ]##################################################################
# Fig pre block. Keep at the top of this file.
. "$HOME/.fig/shell/zshrc.pre.zsh"
###[ ZSH source ]###############################################################
if [ -d $ZSH_DIR ] && [ -r $ZSH_DIR ] && [ -x $ZSH_DIR ]; then
for file in ${ZSH_DIR}/**/*.zsh; do
[ -r $file ] && source $file
done
fi
###[ ALIAS source ]#############################################################
# zsh
if [ -d $ALIASES_ZSH_DIR ] && [ -r $ALIASES_ZSH_DIR ] && [ -x $ALIASES_ZSH_DIR ]; then
for alias in ${ALIASES_ZSH_DIR}/**/*.zsh; do
[ -r $alias ] && source $alias
done
fi
###[ Starship ]#################################################################
eval "$(starship init zsh)"
###[ Fig post ]#################################################################
# Fig post block. Keep at the bottom of this file.
. "$HOME/.fig/shell/zshrc.post.zsh"