18 lines
326 B
Bash
18 lines
326 B
Bash
# Loaded at the end of the initialization process
|
|
|
|
PATH="$HOME/.bin:$DOTFILES/bin:$PATH"
|
|
|
|
#
|
|
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
|