vim/vim_wrapper
Zdenek Dohnal f3ef01b2e5 patchlevel 2465
1918575 - Use wrappers for vi/vim instead of aliases
2021-02-04 09:46:48 +01:00

11 lines
149 B
Bash

#!/usr/bin/sh
# run vim if available
if test -f /usr/libexec/vim
then
exec /usr/libexec/vim "$@"
fi
# run vi otherwise
exec /usr/libexec/vi "$@"