"is-launching",
"is-busy",
"get-state",
+ "set-memsize",
+ "memsize",
+ "get-memsize",
"mount",
"sync",
"touch",
"resize2fs",
"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",
+ "du",
+ "initrd-list",
+ "mount-loop",
+ "mkswap",
+ "mkswap-L",
+ "mkswap-U",
+ "mknod",
+ "mkfifo",
+ "mknod-b",
+ "mknod-c",
+ "umask",
+ "readdir",
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;