BTS

Message1188

Author z3ttacht
Recipients ft, mika
Date 2008-02-13.21:34:51
Content
* Michael Prokop <bts@bts.grml.org> [2008-02-13 21:22]:
> Quoting Message-ID:
> <237967ef0801040304h494987bv939bf6ff9541123f@mail.gmail.com> from zsh-user-ML:
> And I have this custom widget to help me store a command line in history
> without executing it:
>
>    commit-to-history() {
> [...]
> What do you think about that?
I have to admit, I've never had to store something in the history so
far. For delaying commands, for me, push-line respectively
push-line-or-edit did suffice.
But this widget's different, as one can use it in another invoked
shell, assumed share_history and {inc_,}append_history[1] are set, I
guess.

So yes, I see some additional benefit for grml integrating this
widget.

                   ---------- Footnotes ----------

[1] Apropos, do we care for setting inc_append_history instead of
append_history in /etc/zsh/zshrc?
History
Date User Action Args
2008-02-13 21:34:52z3ttachtsetrecipients: + mika, ft
2008-02-13 21:34:52z3ttachtlinkissue407 messages
2008-02-13 21:34:51z3ttachtcreate