This commit is contained in:
Přemysl Eric Janouch 2017-05-25 13:52:13 +02:00
parent 6cce0e5595
commit aa4b4391f3
Signed by: p
GPG Key ID: B715679E3A361BE6
2 changed files with 5 additions and 2 deletions

4
ell.c
View File

@ -792,9 +792,9 @@ execute_item (struct context *ctx, struct item *body, struct item **result) {
if (!evaluated)
return true;
bool success = execute_resolved (ctx, evaluated, args, result);
bool ok = execute_resolved (ctx, evaluated, args, result);
item_free_list (evaluated);
return success;
return ok;
}
static bool

3
repl.c
View File

@ -53,6 +53,9 @@ struct context ctx;
static char **
complete (const char *text, int start, int end) {
(void) start;
(void) end;
// Don't iterate over filenames and stuff
rl_attempted_completion_over = true;