Am 16.06.2012 um 22:05 schrieb Martin Bähr:

> On Sat, Jun 16, 2012 at 08:41:36PM +0200, Fabian Peters wrote:
>>> SHARE_HISTORY <K>
>>> This option both imports new commands from the history file, and also 
>>> causes your typed commands to be appended to the history file (the latter 
>>> is like specifying INC_APPEND_HISTORY)
>> 
>> I'm new to fish and really hope there's an equivalent? 
> 
> there shoudln't be any need. history is shared across all running
> shells, thus you never need to import from or export to the history file
> in order to share history with other shells, because it efectively
> happens automatically every time you run a command. (the command is
> added to the history file and imported to the history of all other
> running shells.

Thanks, Martin! Unfortunately this is not what I'm seeing. I used the OS X 
installer from http://ridiculousfish.com/shell/beta.html. It looks to me as if 
there's a delay before any commands are appended. Which would match my 
understanding of 
https://github.com/fish-shell/fish-shell/blob/master/history.cpp?:

> /** Interval in seconds between automatic history save */
> #define SAVE_INTERVAL (5*60)
> 
> /** Number of new history entries to add before automatic history save */
> #define SAVE_COUNT 5

cheers, Fabian
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to