use command for detection over which
This commit is contained in:
@@ -13,7 +13,7 @@ export XDG_STATE_HOME="$HOME/var/lib" # state data that should persist between
|
|||||||
export XDG_CACHE_HOME="$HOME/var/cache" # user-specific non-essential (cached) data.
|
export XDG_CACHE_HOME="$HOME/var/cache" # user-specific non-essential (cached) data.
|
||||||
export PATH="$XDG_BIN_HOME:$PATH" # add our bin in front of PATH, making it take precedence
|
export PATH="$XDG_BIN_HOME:$PATH" # add our bin in front of PATH, making it take precedence
|
||||||
|
|
||||||
if which nvim 1>/dev/null; then
|
if command -v nvim &>/dev/null; then
|
||||||
export EDITOR=nvim # use neovim as an editor
|
export EDITOR=nvim # use neovim as an editor
|
||||||
export VISUAL=nvim # use neovim for visual-based editors
|
export VISUAL=nvim # use neovim for visual-based editors
|
||||||
export MANPAGER='nvim +Man!' # use neovim as a manual pager
|
export MANPAGER='nvim +Man!' # use neovim as a manual pager
|
||||||
|
|||||||
Reference in New Issue
Block a user