-
Notifications
You must be signed in to change notification settings - Fork 5
/
.zshrc
27 lines (21 loc) · 808 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
#!/bin/zsh
# Make sure that .profile has been loaded, even if
# there was no "login shell" in our lineage.
if [ -z "$_PROFILE_LOADED" ]; then
source ~/.profile
else
# Make sure that we have the array utility functions.
source ~/.profile.d/arrayutil
fi
for part in $(~/.local/bin/deporder -f ~/.zsh/rc.d); do
source $part
done
# For restoring sanity to MacOS: ~/.profile.d/brew_gnu_path defines re_gnu and
# no_gnu to subvert much of BSD userspace with GNU alternatives. However we
# only default such subversion on for interactive shells, so that we don't
# break scripts written with BSD assumptions.
re_gnu
# So that $HOME skew doesn't go unnoticed for too long
git -C "$HOME" status --short
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f ~/.zsh/iterm2.zsh ] && source ~/.zsh/iterm2.zsh