4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Command line completion doesn't work for a shell command with an
13 Solution: Don't use $PATH when there is an absolute path.
17 *** ../vim-7.0.080/src/ex_getln.c Wed Aug 16 16:24:58 2006
18 --- src/ex_getln.c Sat Sep 2 17:51:03 2006
21 flags |= EW_FILE | EW_EXEC;
23 /* For an absolute name we don't use $PATH. */
24 ! if ((pat[0] == '.' && (vim_ispathsep(pat[1])
25 || (pat[1] == '.' && vim_ispathsep(pat[2])))))
29 flags |= EW_FILE | EW_EXEC;
31 /* For an absolute name we don't use $PATH. */
32 ! if (mch_isFullName(pat))
33 ! path = (char_u *)" ";
34 ! else if ((pat[0] == '.' && (vim_ispathsep(pat[1])
35 || (pat[1] == '.' && vim_ispathsep(pat[2])))))
41 ga_init2(&ga, (int)sizeof(char *), 10);
42 for (s = path; *s != NUL; s = e)
45 + ++s; /* Skip space used for absolute path name. */
47 #if defined(MSDOS) || defined(MSWIN) || defined(OS2)
48 e = vim_strchr(s, ';');
50 *** ../vim-7.0.080/src/version.c Sat Sep 2 16:36:46 2006
51 --- src/version.c Sat Sep 2 17:54:35 2006
55 { /* Add new patch number below this line */
61 TALL KNIGHT OF NI: Ni!
62 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
64 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
65 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
66 \\\ download, build and distribute -- http://www.A-A-P.org ///
67 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///