Re: [Fish-users] how do I delete the fish shell history ?
On Wed, Aug 9, 2017 at 2:45 PM, Robert Carpenter wrote: > history clear > > sounds to me like it would do the trick based on this: > > https://fishshell.com/docs/current/commands.html#history > > > • clear clears the history file. A prompt is displayed before the > history is erased asking you to confirm you really want to clear all > history unless builtin history is used. > Thanks for the reminder, Robert, about `history clear` as I had forgotten it existed despite being a core developer who fixed many problems with the `history` command in the past couple of years. -- 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
Re: [Fish-users] how do I delete the fish shell history ?
history clear sounds to me like it would do the trick based on this: https://fishshell.com/docs/current/commands.html#history > • clear clears the history file. A prompt is displayed before the history is > erased asking you to confirm you really want to clear all history unless > builtin history is used. Robert > On Aug 9, 2017, at 15:42, Luis Manuel Sánchez > wrote: > > Would like to reset the history. > > thanks, > Luis. > > -- > 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 -- 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
Re: [Fish-users] how do I delete the fish shell history ?
On Wed, Aug 9, 2017 at 2:42 PM, Luis Manuel Sánchez < luissanchez...@gmail.com> wrote: > Would like to reset the history. > If you want to selectively delete some items there is the `history delete` command. Note that fish imports your bash history file if it is empty. So if you really want an empty history you need to rename or delete your ~/.bash_history file before doing the next step. Exit all your fish shells. Start /bin/sh or some other non-bash shell then remove your fish history: rm ~/.local/share/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
[Fish-users] how do I delete the fish shell history ?
Would like to reset the history. thanks, Luis. -- 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