Ahh, didn't know about `history delete`, thanks.

On 12/09/2017 18:28, Kurtis Rader wrote:
On Tue, Sep 12, 2017 at 6:54 AM, Peter Flood <i...@whywouldwe.com <mailto:i...@whywouldwe.com>> wrote:

    Is `~/.config/fish/fish_history` still the place where command
    history is stored in v2.6? I ask because I use fish every day yet
    that file has a modified timestamp in March and the latest entry
    has a timestamp of 19/1/2017. I want to remove some typo commands
    that keep coming up in my history.


As Glenn pointed out the location was changed in the fish 2.3.0 release. I just wanted to add that you shouldn't edit the file directly. Doing so is unlikely to cause any problems at this time but it isn't supported and its possible you won't end up with the desired result. You should instead use `history delete`. You can safely remove ~/.config/fish/fish_history.

--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to