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

Option to not touch HISTFILE #334

Open
lnicola opened this issue Jan 26, 2021 · 3 comments
Open

Option to not touch HISTFILE #334

lnicola opened this issue Jan 26, 2021 · 3 comments
Milestone

Comments

@lnicola
Copy link

lnicola commented Jan 26, 2021

I'm using zsh and I'm quite happy with setopt sharehistory (there's a bash equivalent too). By setting HISTFILE, tab prevents me from finding previous commands in history.

@austinjones
Copy link
Owner

Oh sure. I'll take a look at this. For a quick fix, you could comment out this line, and run cargo install --locked --path tab:
https://github.com/austinjones/tab-rs/blob/main/tab-pty/src/service/client.rs#L87

@lnicola
Copy link
Author

lnicola commented Jan 26, 2021

Thanks, no worries. I might submit a PR myself if you don't get to it these days.

@austinjones
Copy link
Owner

That would be cool! This would be pretty simple to implement with a setting in the global config, and a property in the CreateTabMetadata - which gets passed through the daemon to the pty.

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 a pull request may close this issue.

2 participants