"find",
"e2fsck-f",
"sleep",
+ "ntfs-3g-probe",
+ "sh",
+ "sh-lines",
+ "glob-expand",
+ "scrub-device",
+ "scrub-file",
+ "scrub-freespace",
+ "mkdtemp",
+ "wc-l",
+ "wc-w",
+ "wc-c",
+ "head",
+ "head-n",
+ "tail",
+ "tail-n",
+ "df",
+ "df-h",
NULL
};
len = strlen (text);
}
+ rl_attempted_completion_over = 1;
+
while ((name = commands[index]) != NULL) {
index++;
if (strncasecmp (name, text, len) == 0)
char **matches = NULL;
#ifdef HAVE_LIBREADLINE
+ rl_completion_append_character = ' ';
+
if (start == 0)
matches = rl_completion_matches (text, generator);
+ else if (complete_dest_paths)
+ matches = rl_completion_matches (text, complete_dest_paths_generator);
#endif
return matches;