Skip to content

Conversation

@montag451
Copy link
Contributor

Since Bash version 5.1, the behaviour of HISTCMD has been changed and it breaks history uncluttering. This commit solves this problem by checking the Bash major version and by using the appropriate command to unclutter the history.

Since Bash version 5.1, the behaviour of HISTCMD has been changed and
it breaks history uncluttering. This commit solves this problem by
checking the Bash major version and by using the appropriate command
to unclutter the history.
@montag451 montag451 force-pushed the history-uncluttering branch from cab8e7f to 0e086cf Compare January 14, 2023 21:06
@montag451
Copy link
Contributor Author

I have no clue why the CI tests are failing. On my machine I tested my changes against Bash 4.4, Bash 5.0, Bash 5.1 and Bash 5.2 and it works fine (the current version of emacs-bash-completion fails with Bash 5.1 and 5.2)

@szermatt
Copy link
Owner

Thank you for the patch! I'll try it out!

The CI tests failing have nothing to do with the patch. It looks like the CI is broken. I'm having a look.

@szermatt
Copy link
Owner

I tested manually and everything looks fine. Again, thank you for the fix!

I'm going to merge this change and fix the Cl afterwards.

@szermatt szermatt merged commit ba2f7e9 into szermatt:master Jan 15, 2023
@montag451
Copy link
Contributor Author

Thx for your quick merge and for this wonderful package!

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.

2 participants