tastytea
35c2fc187a
`:terminal foo` will spawn a non-interactive shell that doesn't read .zshrc but .zshenv.
10 lines
329 B
Bash
10 lines
329 B
Bash
[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions )
|
|
[[ -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
|