home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2005 March / PCWELT_3_2005.ISO / pcwsoft / framework-2.2.exe / less.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2003-08-12  |  215 b   |  10 lines

  1. #!/bin/sh
  2. # Shell script to start Vim with less.vim.
  3. # Read stdin if no arguments were given.
  4.  
  5. if test $# = 0; then
  6.   vim -c 'so $VIMRUNTIME/macros/less.vim' -
  7. else
  8.   vim -c 'so $VIMRUNTIME/macros/less.vim' "$@"
  9. fi
  10.