helm/shell/env.sh
2017-03-19 16:26:19 -04:00

16 lines
307 B
Bash

# 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="$DOTFILES/bin:$PATH"
bins=( "$ENABLED_DIR"/*/bin )
for bin in "${bins[@]}"; do
[[ -e "$bin" ]] && PATH="$bin:$PATH"
done
export PATH