dotfiles/.config/zsh/.zshenv

10 lines
329 B
Plaintext
Raw Normal View History

[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions )
2022-04-08 20:11:49 +02:00
[[ -d "${ZDOTDIR}"/completions ]] && fpath+=( "${ZDOTDIR}"/completions )
fpath=(${(u)fpath})
# Open files from :terminal in parent instance
if [[ -v NVIM ]]; then
export VISUAL="$(command -v nvim) --server ${NVIM} --remote"
export EDITOR=${VISUAL}
fi