1 2 3 4 5 6 7
export PAGER="less -R" if [[ ! -z $(whence nvim) ]] then export EDITOR='nvim' elif [[ ! -z $(whence vim) ]] then export EDITOR='vim' fi