> One nice feature for fish history is the ability to filter through the history based on what is typed into the shell.
Add this to your .inputrc
## arrow up
"\e[A":history-search-backward
## arrow down
"\e[B":history-search-forward
> Fish does not enter any command that begins with a space into its history file, essentially treating it like an incognito command.Add "HISTCONTROL=ignorespace" to your .bashrc
> A new addition in fish 3.0 is the --private flag that can be used to start fish in private mode; it stops all subsequent commands from being logged in the history file.
run unset HISTFILE