mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
make binding of ^D be used in first column if ignoreeof is set and ^D is bound to a shell function widget (12494)
This commit is contained in:
parent
4f1aa826f5
commit
a23d39ce38
3 changed files with 42 additions and 21 deletions
|
@ -573,6 +573,11 @@ Do not exit on end-of-file. Require the use
|
|||
of tt(exit) or tt(logout) instead.
|
||||
However, ten consecutive EOFs will cause the shell to exit anyway,
|
||||
to avoid the shell hanging if its tty goes away.
|
||||
|
||||
Also, if this option is set and the Zsh Line Editor is used, widgets
|
||||
implemented by shell functions can be bound to EOF (normally
|
||||
Control-D) without printing the normal warning message. This works
|
||||
only for normal widgets, not for completion widgets.
|
||||
)
|
||||
pindex(INC_APPEND_HISTORY)
|
||||
cindex(history, incremental appending to a file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue