vim/SOURCES/view_wrapper

11 lines
150 B
Plaintext
Raw Normal View History

2022-05-17 10:26:52 +00:00
#!/usr/bin/sh
# run vim -R if available
if test -f /usr/bin/vim
then
exec /usr/bin/vim -R "$@"
fi
# run vi otherwise
exec /usr/libexec/vi -R "$@"