1 2 3
if ! (($+commands[vi] | $+commands[vim] | $+commands[nvim] | $+commands[nvi] | $+commands[elvis])); then alias vi='busybox vi' fi