Diff between 957d48aff584ee8eeadba3047058af28575c2f96 and c7a7849c8c59a7de04d2702ab34b094aa5a206c3

Changed Files

File Additions Deletions Status
src/shared/shell.c +1 -1 modified

Full Patch

diff --git a/src/shared/shell.c b/src/shared/shell.c
index 26194f7..f20c749 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -498,7 +498,7 @@ static char *find_cmd(const char *text,
 	while ((cmd = entry[*index].cmd)) {
 		(*index)++;
 
-		if (!strncmp(cmd, text, len))
+		if (!strncmp(cmd, text, len) && !command_isskipped(cmd))
 			return strdup(cmd);
 	}