-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_exports
33 lines (25 loc) · 906 Bytes
/
bash_exports
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
# vim: ft=sh
# set default editor to Vim
export EDITOR="nvim -f"
# disable OSX warning message
export BASH_SILENCE_DEPRECATION_WARNING=1
# coreutils
if [[ -d "$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin" ]]; then
export PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
fi
if [[ -d "$HOMEBREW_PREFIX/opt/coreutils/libexec/gnuman" ]]; then
export MANPATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnuman:$MANPATH"
fi
# sed replacement
if [[ -d "$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin" ]]; then
export PATH="$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin:$PATH"
fi
if [[ -d "$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnuman" ]]; then
export MANPATH="$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnuman:$MANPATH"
fi
# bin local
if [[ -d "$HOME/.bin" ]]; then
export PATH="$HOME/.bin:$PATH"
fi
# Include custom exports
[[ -s "$HOME/.bash_exports.local" ]] && source "$HOME/.bash_exports.local"