helm/shell/env.sh

16 lines
324 B
Bash
Raw Normal View History

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