On Tue, Feb 24, 2009 at 05:36:02PM +0100, Martin Bähr wrote: > On Tue, Feb 24, 2009 at 11:09:58AM -0500, James Vega wrote: > > According to the XDG specification[0], "user-specific non-essential > > (cached) data" should be stored in $XDG_CACHE_HOME. This seems like a > > fitting place to put fish_history (and potentially fishd.$HOSTNAME). > > i don't consider history to be cached data which can be removed (and > regenerated) at will. it's more like logging data where old entries may > expire but new ones should be kept.
Considering its primary use is to avoid typing commands again and it's a lossy store, it definitely seems like cache info to me. The impact from removing ~/.config/fish/fish_history is minimal -- having to type a full command instead of being able to complete/edit a previous one. If the intended purpose were logging (which implies auditing), then you wouldn't want to delete commands from the history. This currently happens in the fact that duplicate commands are elided from the history even if they weren't successive commands. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
