How to share history between terminal tabs?
35
votes
2
answers
11903
views
I generally find myself using two or three tabs in my Terminal on OS X.
A minor inconvenience is that, by default, the tabs don't share their command history. So, searching for a previous command that I ran on another tab by typing
history | grep thingIamlooking for
does not find it.
Is there a way of forcing Terminal tabs to share history, or is there some other "history_of_all_tabs" command?
Asked by Joe
(5179 rep)
Jul 26, 2012, 09:13 AM
Last activity: Feb 27, 2023, 06:42 PM
Last activity: Feb 27, 2023, 06:42 PM