mirror of
https://github.com/zsh-users/zsh
synced 2024-10-07 00:19:31 +00:00
19020: fix printaliasnode
This commit is contained in:
parent
3ffb3ad2f2
commit
8e359a669e
|
@ -1,5 +1,7 @@
|
||||||
2003-09-03 Peter Stephenson <pws@csr.com>
|
2003-09-03 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 19020: Src/hashtable.c: printaliasnode was screwed up by 19014.
|
||||||
|
|
||||||
* 19014: Completion/Zsh/Command/_alias,
|
* 19014: Completion/Zsh/Command/_alias,
|
||||||
Completion/Zsh/Type/.distfiles, Completion/Zsh/Type/_aliases,
|
Completion/Zsh/Type/.distfiles, Completion/Zsh/Type/_aliases,
|
||||||
Completion/Zsh/Type/_command_names,
|
Completion/Zsh/Type/_command_names,
|
||||||
|
|
|
@ -1119,7 +1119,7 @@ printaliasnode(HashNode hn, int printflags)
|
||||||
printf("suffix ");
|
printf("suffix ");
|
||||||
else if (a->flags & ALIAS_GLOBAL)
|
else if (a->flags & ALIAS_GLOBAL)
|
||||||
printf("globally ");
|
printf("globally ");
|
||||||
printf (" aliased to ");
|
printf ("aliased to ");
|
||||||
nicezputs(a->text, stdout);
|
nicezputs(a->text, stdout);
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
return;
|
return;
|
||||||
|
@ -1134,7 +1134,7 @@ printaliasnode(HashNode hn, int printflags)
|
||||||
printf(" global");
|
printf(" global");
|
||||||
else
|
else
|
||||||
printf("n");
|
printf("n");
|
||||||
printf(" alias for");
|
printf(" alias for ");
|
||||||
nicezputs(a->text, stdout);
|
nicezputs(a->text, stdout);
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue