mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 17:43:44 +08:00
aec0973196
Using the FISH_HISTFILE variable will let people customise the session to use for the history file. The resulting history file is: `$XDG_DATA_HOME/fish/name_history` Where `name` is the name of the session. The default value is `fish` which results in the current history file. If it's set to an empty string, the history will not be stored to a file. Fixes #102
8 lines
215 B
Plaintext
8 lines
215 B
Plaintext
cmd1 found in default histfile
|
|
cmd2 found in my histfile
|
|
cmd2 not found in default histfile
|
|
cmd3 found in default histfile
|
|
cmd3 not found in my histfile
|
|
cmd4 found in env histfile
|
|
cmd4 not found in default histfile
|