11 lines
149 B
Bash
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 "$@"
|