File: vi.sh

package info (click to toggle)
ae 962-21
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 248 kB
  • ctags: 324
  • sloc: ansic: 2,628; makefile: 118; sh: 22
file content (11 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ -x /usr/bin/vi ]; then
    exec /usr/bin/vi ${1+"$@"}
else
    if [ ${DISPLAY}MT = MT ]; then
	ae -f /etc/ae/ae2vi.rc ${1+"$@"}
    else
        ae -f /etc/ae/ae2vix.rc ${1+"$@"}
    fi
fi