1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 17:28:01 +00:00

history: Update doc to accommodate recent macOS

In recent versions of macOS (Catalina and above), `HISTFILE` is set
via system `/etc/zshrc`.
This commit is contained in:
Indrajit Raychaudhuri 2021-04-26 17:57:12 -05:00 committed by Indrajit Raychaudhuri
parent 428632ac07
commit ce937020ce

View File

@ -3,9 +3,10 @@ History
Sets [history][1] options and defines history aliases. Sets [history][1] options and defines history aliases.
**Note:** If you are migrating from oh-my-zsh and want to keep your history, you **Note:** If you are migrating from [Oh My Zsh][2] and are not on a recent
will either need to set `HISTFILE` manually to `$HOME/.zsh_history` or rename version of macOS and want to keep your history, you will either need to set
`~/.zsh_history` to `~/.zhistory`. `HISTFILE` manually to `$HOME/.zsh_history` or rename `~/.zsh_history` to
`~/.zhistory`.
Options Options
------- -------
@ -39,10 +40,11 @@ Aliases
Authors Authors
------- -------
*The authors of this module should be contacted via the [issue tracker][2].* *The authors of this module should be contacted via the [issue tracker][3].*
- [Robby Russell](https://github.com/robbyrussell) - [Robby Russell](https://github.com/robbyrussell)
- [Sorin Ionescu](https://github.com/sorin-ionescu) - [Sorin Ionescu](https://github.com/sorin-ionescu)
[1]: http://zsh.sourceforge.net/Guide/zshguide02.html#l16 [1]: http://zsh.sourceforge.net/Guide/zshguide02.html#l16
[2]: https://github.com/sorin-ionescu/prezto/issues [2]: https://github.com/ohmyzsh/ohmyzsh
[3]: https://github.com/sorin-ionescu/prezto/issues