helm/shell/env.sh

18 lines
326 B
Bash
Raw Normal View History

2016-11-16 06:06:41 -08:00
# Loaded at the end of the initialization process
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)
local bins=( "$ENABLED_DIR"/*/bin )
for bin in "${bins[@]}"; do
[[ -e "$bin" ]] && PATH="$bin:$PATH"
done
export PATH