Re: Common History across Shell



quarkLore <agarwal.prateek@xxxxxxxxx>:
[...]
I am looking for a feature where if a user has multiple shells and on
a special keystroke / command all shells get a common history which is
sum of all histories.

Does such a feature exist in bash or any other shell?
Can such a feature be implemented without changing the shell's code?

zsh¹ can share its history among multiple instances of the shell. See
'SHARE_HISTORY' and 'INC_APPEND_HISTORY' in 'man zshoptions'. Manual
importing is possible as well via the 'fc' builtin (which can be bound
to a keystroke, if that's desired).

Note, that I don't use this feature, so I don't know how well it
works. But I know people who do use it, and I didn't hear of
particular problems.

Regards, Frank

¹ <http://zsh.sf.net>

--
There are no threads in alt.binaries.pictures.erotica,
so there's no gain in using a threaded news reader.
-- unknown source
.



Relevant Pages

  • Re: Common History across Shell
    ... a special keystroke / command all shells get a common history which is ... Can such a feature be implemented without changing the shell's code? ... sharing history across instances of shell. ...
    (comp.unix.shell)
  • Re: Common History across Shell
    ... a special keystroke / command all shells get a common history which is ... Does such a feature exist in bash or any other shell? ... ksh has a common history by default. ... well I like it this way (in fact, I find this feature indispensible). ...
    (comp.unix.shell)
  • Internet Explorer 7 Will Flush Its History
    ... Internet files, cookies, history, form data, and passwords, Enuha ... The feature goes deeper than a novice user would likely pursue. ...
    (comp.dcom.telecom)
  • Re: stdout -determining size of??
    ... My query comes about because I had a shell running for ages with ... Could you provide the error message that made you think that stdout has ... After getting the message I dumped the history and locate.updatedb ran ... That depends entirely on the shell. ...
    (freebsd-questions)
  • Re: redirect Temporary Internet Files via GP
    ... PART "TempIE Files" EDITTEXT ... PART "History" EDITTEXT ...
    (microsoft.public.windows.group_policy)