ohmyzsh/ohmyzsh

The flag 'history -c' did not work

summeroch opened this issue · 1 comments

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

  • zparseopts -E -D c=clear l=list f=stamp E=stamp i=stamp
  • zparseopts -E c=clear l=list f=stamp E=stamp i=stamp

When i remove the -D flag it's worked