Skip to content

Commit

Permalink
history: Update doc to accommodate recent macOS
Browse files Browse the repository at this point in the history
In recent versions of macOS (Catalina and above), `HISTFILE` is set
via system `/etc/zshrc`.
  • Loading branch information
indrajitr committed Apr 26, 2021
1 parent 428632a commit ce93702
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions modules/history/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ History

Sets [history][1] options and defines history aliases.

**Note:** If you are migrating from oh-my-zsh and want to keep your history, you
will either need to set `HISTFILE` manually to `$HOME/.zsh_history` or rename
`~/.zsh_history` to `~/.zhistory`.
**Note:** If you are migrating from [Oh My Zsh][2] and are not on a recent
version of macOS and want to keep your history, you will either need to set
`HISTFILE` manually to `$HOME/.zsh_history` or rename `~/.zsh_history` to
`~/.zhistory`.

Options
-------
Expand Down Expand Up @@ -39,10 +40,11 @@ Aliases
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)
- [Sorin Ionescu](https://github.com/sorin-ionescu)

[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

0 comments on commit ce93702

Please sign in to comment.