diff --git a/.bash_profile b/.bash_profile index a105949..1150396 100644 --- a/.bash_profile +++ b/.bash_profile @@ -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 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 VISUAL=nvim # use neovim for visual-based editors export MANPAGER='nvim +Man!' # use neovim as a manual pager