9

Where does zsh on MacOS save history, and how to remove items

 1 year ago
source link: https://www.kevinhooke.com/2022/05/15/where-does-zsh-on-macos-save-history-and-how-to-remove-items/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Where does zsh on MacOS save history, and how to remove items

zsh on MacOS saves your terminal history to ~/.zsh_history

If you entered a command that you don’t want to remain in your history, edit the file and delete the lines you don’t want to remain in your history, then save. Exist terminal and reopen.

CategoriesKev's BlogTagsbash, linux, MacOS, zsh

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comment *

Name *

Email *

Website

Save my name, email, and website in this browser for the next time I comment.

Notify me of follow-up comments by email.

Notify me of new posts by email.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK