2485 shaares
83 private links
83 private links
type nvim >/dev/null 2>&1 && alias vim=nvim
replacing vim with the thing you want to replace and nvim with the thing you want to replace it with (and the thing you are checking for)
type nvim >/dev/null 2>&1 && alias vim=nvim
replacing vim with the thing you want to replace and nvim with the thing you want to replace it with (and the thing you are checking for)