1 2 3 4 5 6 7 8
#!/usr/bin/env bash if ! command -v nvim &> /dev/null then vim "$@" else nvim "$@" fi