helm/shell/env.sh
2017-01-16 22:30:02 -05:00

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