diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c index 8f432515c..83257da8c 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1774,7 +1774,7 @@ exalias(void) if (an && !an->inuse && ((an->node.flags & ALIAS_GLOBAL) || incmdpos || inalmore)) { inpush(an->text, INP_ALIAS, an); - if (an->text[0] == ' ') + if (an->text[0] == ' ' && !(an->node.flags & ALIAS_GLOBAL)) aliasspaceflag = 1; lexstop = 0; if (zshlextext == copy) |