updated for version 7.4.235
Problem: It is not easy to get the full path of a command.
Solution: Add the exepath() function.
diff --git a/src/misc1.c b/src/misc1.c
index 9434961..c52945f 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -10728,7 +10728,7 @@
return;
/* If the file isn't executable, may not add it. Do accept directories. */
- if (!isdir && (flags & EW_EXEC) && !mch_can_exe(f))
+ if (!isdir && (flags & EW_EXEC) && !mch_can_exe(f, NULL))
return;
/* Make room for another item in the file list. */