A lot of files try to open with Vi

Please post any bugs you have found
Post Reply
Message
Author
Everitt
Posts: 331
Joined: Tue 19 Dec 2006, 21:59
Location: Leeds,UK or Birmingham, UK

A lot of files try to open with Vi

#1 Post by Everitt »

I know that you can just right click and open as text, but that's irritating, and this behaviour breaks the functiopnality of 'crontab -e'

A really simple fix would be put 'exec e3 "$@"' at the end of the script '/bin/vi'. That way the file is still opened, although the message is not displayed. I guess there should be a simple way to get the script to wait for user input after showing the message, but being a linux noob I don't know it.

Post Reply