diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-02-28 09:12:54 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-02-28 09:12:54 +0000 |
commit | 061c1ce9129b3d34e8cf386633bbcc54110bd569 (patch) | |
tree | a69a2c9f23118dccb1feb6cdc75d9777e90ca3d8 /Src/lex.c | |
parent | 5621ce6faf905448bf814288209c0b0104d45b14 (diff) | |
download | zsh-061c1ce9129b3d34e8cf386633bbcc54110bd569.tar.gz zsh-061c1ce9129b3d34e8cf386633bbcc54110bd569.tar.xz zsh-061c1ce9129b3d34e8cf386633bbcc54110bd569.zip |
add `aliases' option to be able to disable alias expansion (13554)
Diffstat (limited to 'Src/lex.c')
-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 9a066b915..322bb9abe 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1556,7 +1556,7 @@ exalias(void) if (tok == STRING) { /* Check for an alias */ - an = noaliases ? NULL : + an = (noaliases || unset(ALIASESOPT)) ? NULL : (Alias) aliastab->getnode(aliastab, yytext); if (an && !an->inuse && ((an->flags & ALIAS_GLOBAL) || incmdpos || inalmore)) { |