13 lines
332 B
Bash
13 lines
332 B
Bash
#
|
|
# Default editor and pager
|
|
#
|
|
|
|
# cool people use neovim :>
|
|
export EDITOR=$(if __zspr_has_command nvim; then echo -n "nvim"; else echo -n "vim"; fi)
|
|
export VISUAL="${EDITOR}"
|
|
export PAGER=less
|
|
export MANPAGER=less
|
|
|
|
# less options
|
|
export LESS="--no-init --LONG-PROMPT --quit-if-one-screen --RAW-CONTROL-CHARS --tabs=4 --ignore-case"
|