ohmyzsh / ohmyzsh

🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

Home Page:https://ohmyz.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The flag 'history -c' did not work

summeroch opened this issue · 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