Dear all, I am still experiencing these problems, so I have written a little helper to mitigate the effects. The attached ruby script takes a couple of history files (say, the most recent one and a couple of backups from recent days) as paths on the commandline. These are parsed and merged by removing duplicates. The result is arranged in ascending order of the times since epoch.
Perhaps this is of use to others as well. Cheers Jan On Tuesday 18 August 2009, Jan Schumacher wrote: > Dear fish experts, > > a couple of times, most recently today, it has happened that recently used > commands are lost from the history of the shell. Just now a command I had > used yesterday (and most working days for a while) is gone today. > > Is this intended behaviour or a bug? Perhaps not the most recent use of a > command is recorded but the first? > > As a lazy and compliant user of unix software I would be content to just > configure fish never to delete anything from the history. Given this > particular evil is mentioned in your design document, I assume that course > of action is out of the question ;-). > > Thanks in advance. > > Cheers > Jan >
fish_history_repair.rb
Description: application/ruby
test_fish_history_repair.rb
Description: application/ruby
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users