Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically configure HISTFILE to preserve history #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alveel
Copy link

@Alveel Alveel commented Nov 24, 2023

The best fix is to explicitly configure HISTFILE. However (understandably) many users don't have this or know about this. This PR automatically configures HISTFILE to point to the original .zsh_history of the user instead of in the created tmp directory.

In lieu or accompanied with this, perhaps we can document the recommendation of setting HISTFILE?

I realise now I included #81 in my commit message but this fix only applies for zsh, not other shells.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant