Is there a way to merge history from multiple terminal sessions in Fish shell?
I tried to use the command history merge
but I get the following error"
history: you cannot use any options with the merge command
Has anyone been able to do this in Fish Shell?
Thanks in advance,
history merge
is thinking that you are using additional options (when you aren't), I wonder if you have an alias (or other function) maskinghistory
. Can you double-checktype -s history
? It should point to/usr/share/fish/functions/history.fish
. If we're on the right track, then I can convert this into an answer. Otherwise, we'll keep noodling on it :-)history merge
works for me. Can you confirm your Fish shell version? Thanks!type -s history
from my previous comment? I see that the error you are receiving was a recent addition to Fish, so I just upgraded one of my test VMs, but I still don't have the same problem.history merge
returns without error for me on 3.3.1.