kubie icon indicating copy to clipboard operation
kubie copied to clipboard

Automatically configure HISTFILE to preserve history

Open Alveel opened this issue 1 year ago • 0 comments

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.

Alveel avatar Nov 24 '23 23:11 Alveel