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

Discard duplicate history entries #39

Closed
dmitri-gb opened this issue Apr 28, 2020 · 3 comments
Closed

Discard duplicate history entries #39

dmitri-gb opened this issue Apr 28, 2020 · 3 comments
Labels
fixed in master Changes have been made but are not in a stable release

Comments

@dmitri-gb
Copy link

dmitri-gb commented Apr 28, 2020

Somewhat related to #38.

I find it often annoying that if I execute the same command multiple times (doesn't matter if I enter it manually every time, or select it from history using UP), Yori keeps all of them in history, so that if I suddenly want to execute some previous (different) command, I have to press UP a dozen times.

I think the easiest way to alleviate this would be to simply not add the executed command to history, if it is equal to the last command in history.

@malxau
Copy link
Owner

malxau commented May 4, 2020

I pushed commit 0d3e0f3 for this.

@dmitri-gb
Copy link
Author

Seems to work well. Thanks!

@malxau malxau added the fixed in master Changes have been made but are not in a stable release label May 22, 2020
@malxau
Copy link
Owner

malxau commented Jul 18, 2020

The original issue here has been fixed in the 1.30 release. Please reactivate this issue or file a new issue if there are further issues related to it.

@malxau malxau closed this as completed Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in master Changes have been made but are not in a stable release
Projects
None yet
Development

No branches or pull requests

2 participants