diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-08-07 10:18:31 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-08-07 10:18:31 +0000 |
commit | 23581f7664b70932e8736f10e5b143beeb4e7783 (patch) | |
tree | ef0de99ab19be8e38caa321c1e2cecd5dd4a4cdc /Src | |
parent | 5dd1ba01ea1b4251fa8b05f4acbd1fe9750176aa (diff) | |
download | zsh-23581f7664b70932e8736f10e5b143beeb4e7783.tar.gz zsh-23581f7664b70932e8736f10e5b143beeb4e7783.tar.xz zsh-23581f7664b70932e8736f10e5b143beeb4e7783.zip |
15586: remove =alias expansion, leaving only =cmd.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Src/subst.c b/Src/subst.c index b5480d75e..0ef084106 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -414,15 +414,9 @@ filesubstr(char **namptr, int assign) sav = *pp; *pp = 0; if (!(cnam = findcmd(str + 1, 1))) { - Alias a = (Alias) aliastab->getnode(aliastab, str + 1); - - if (a) - cnam = a->text; - else { - if (isset(NOMATCH)) - zerr("%s not found", str + 1, 0); - return 0; - } + if (isset(NOMATCH)) + zerr("%s not found", str + 1, 0); + return 0; } *namptr = dupstring(cnam); if (sav) { |