On Sun, Jun 17, 2012 at 12:02:11AM +0200, Fabian Peters wrote:
> > 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?:
> > #define SAVE_INTERVAL (5*60)
> > #define SAVE_COUNT 5

ah, yes, forgot about the delay.
well it doesn't contradict what i said, it's just not immideate.

i suppose it would be nice to have a command to force a history sync. i
don't know what kind of effort would be involved...

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
services:   debugging, programming, training, linux sysadmin, web development
--
pike programmer      working in china                 societyserver.(org|net)
foresight developer  community.gotpike.org                 foresightlinux.org
unix sysadmin        (open-steam|www.caudium).org                  realss.com
Martin Bähr          http://societyserver.org/mbaehr/      

------------------------------------------------------------------------------
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