I
I
Ivan Nesterovich2016-03-13 14:12:14
Command line
Ivan Nesterovich, 2016-03-13 14:12:14

Mac OS X El Capitan how to enable saving of entered commands in the terminal?

After upgrading to El Capitan, the terminal stopped saving the commands that I entered in the terminal after a reboot. Those. Before rebooting (shutdown) the system, the history can be viewed with the up and down arrows (or ctrl + r for search). But after a reboot, only those commands are available that I entered on the previous version of OS X. Does anyone have any ideas how to fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Sh, 2016-03-13
@vanderv

Add the line SHELL_SESSION_HISTORY=0 to .bash_profile and restart your terminal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question