mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
unposted (see 32892): 'fc -I' is an error
This commit is contained in:
parent
f6429189a8
commit
77119afe19
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
2014-07-24 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* unposted (see 32892): Src/builtins.c: 'fc -I' is an error
|
||||
|
||||
* 32903: Src/Modules/parameter.c: new empty (unset) elements in
|
||||
the special parameter hash tables are special themselves, so that
|
||||
adding elements via assignment syntax handles them correctly.
|
||||
|
|
|
@ -1422,6 +1422,10 @@ bin_fc(char *nam, char **argv, Options ops, int func)
|
|||
unqueue_signals();
|
||||
return 0;
|
||||
}
|
||||
if (OPT_ISSET(ops,'I')) {
|
||||
zwarnnam(nam, "-I requires one of -R/-W/-A");
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (zleactive) {
|
||||
zwarnnam(nam, "no interactive history within ZLE");
|
||||
|
|
Loading…
Reference in a new issue