We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using 'history -c', it prints the history instead of clearing it.
history -c
clear history
No response
Ubuntu 22.04
5.8.1
master (1ed8d4b)
Terminal
None
The text was updated successfully, but these errors were encountered:
When i remove the -D flag it's worked
Sorry, something went wrong.
eafa782
fix(history): fix history -c (ohmyzsh#12362)
c5f5217
Fixes ohmyzsh#12362
9bf20fc
No branches or pull requests
Describe the bug
When using 'history -c', it prints the history instead of clearing it.
Steps to reproduce
history -c
Expected behavior
clear history
Screenshots and recordings
No response
OS / Linux distribution
Ubuntu 22.04
Zsh version
5.8.1
Oh My Zsh version
master (1ed8d4b)
Terminal emulator
Terminal
If using WSL on Windows, which version of WSL
None
Additional context
No response
The text was updated successfully, but these errors were encountered: