-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.extra
35 lines (25 loc) · 1.04 KB
/
.extra
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
#! /bin/bash
[ -s "$HOME/.scm_breeze/scm_breeze.sh" ] && source "$HOME/.scm_breeze/scm_breeze.sh"
[ -s "$HOME/.git-completion.bash" ] && source "$HOME/.git-completion.bash"
if [ "$TERM_PROGRAM" == 'iTerm.app' ]; then
[ -s "${HOME}/.iterm2_shell_integration.bash" ] && source "${HOME}/.iterm2_shell_integration.bash"
fi
if hash brew 2> /dev/null; then
[ -r `brew --prefix`/etc/profile.d/z.sh ] && source `brew --prefix`/etc/profile.d/z.sh
fi
# Logo
if hash neofetch 2> /dev/null; then
neofetch
elif hash archey 2> /dev/null; then
archey -c
fi
# rupa/z
[[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh
# garabik/grc
[[ -s "/etc/profile.d/grc.bashrc" ]] && source /etc/profile.d/grc.bashrc
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# asdf
[ -s "/opt/homebrew/opt/asdf/asdf.sh" ] && . "/opt/homebrew/opt/asdf/asdf.sh"