summaryrefslogtreecommitdiff
path: root/src/os_vms.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-03-21 17:32:19 +0100
committerBram Moolenaar <Bram@vim.org>2015-03-21 17:32:19 +0100
commitb5971141dff0c69355fd64196fcc0d0d071d4c82 (patch)
treef2a062bcfa6558a9bd58d24c23924d403ec39170 /src/os_vms.c
parent4df702999d14955255fcdfb820511767dcfec463 (diff)
downloadvim-git-b5971141dff0c69355fd64196fcc0d0d071d4c82.tar.gz
updated for version 7.4.672v7.4.672
Problem: When completing a shell command, directories in the current directory are not listed. Solution: When "." is not in $PATH also look in the current directory for directories.
Diffstat (limited to 'src/os_vms.c')
-rw-r--r--src/os_vms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_vms.c b/src/os_vms.c
index 12eceedd0..7c2d87255 100644
--- a/src/os_vms.c
+++ b/src/os_vms.c
@@ -483,7 +483,8 @@ mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, i
continue;
/* Skip files that are not executable if we check for that. */
- if (!dir && (flags & EW_EXEC) && !mch_can_exe(vms_fmatch[i], NULL))
+ if (!dir && (flags & EW_EXEC)
+ && !mch_can_exe(vms_fmatch[i], NULL, !(flags & EW_SHELLCMD)))
continue;
/* allocate memory for pointers */