2016-11-16 06:06:41 -08:00
|
|
|
# Loaded at the end of the initialization process
|
|
|
|
|
2017-01-08 21:44:01 -08:00
|
|
|
PATH="$HOME/.bin:$DOTFILES/bin:$PATH"
|
2016-11-16 06:06:41 -08:00
|
|
|
|
|
|
|
#
|
|
|
|
export EDITOR=$(is-callable nvim && echo 'nvim' || echo 'vim')
|
|
|
|
export VISUAL=$EDITOR
|
|
|
|
|
|
|
|
#
|
|
|
|
export GPG_TTY=$(tty)
|
2017-01-08 21:44:01 -08:00
|
|
|
|
|
|
|
local bins=( "$ENABLED_DIR"/*/bin )
|
|
|
|
for bin in "${bins[@]}"; do
|
|
|
|
[[ -e "$bin" ]] && PATH="$bin:$PATH"
|
|
|
|
done
|
|
|
|
|
|
|
|
export PATH
|