diff options
Diffstat (limited to 'Src/lex.c')
-rw-r--r-- | Src/lex.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Src/lex.c b/Src/lex.c index 2aec25678..9fc4ddae1 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1561,9 +1561,8 @@ exalias(void) if (an && !an->inuse && ((an->flags & ALIAS_GLOBAL) || incmdpos || inalmore)) { inpush(an->text, INP_ALIAS, an); - /* remove from history if it begins with space */ - if (isset(HISTIGNORESPACE) && an->text[0] == ' ') - remhist(); + if (an->text[0] == ' ') + aliasspaceflag = 1; lexstop = 0; if (yytext == copy) yytext = tokstr; |