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

The attached patch does this.  The code changes to
share/functions/__fish_config_interactive.fish in order to handle the
upgrade would still need to be implemented if this patch is acceptable.

[0] - http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

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

Reply via email to