How could I delete specific line of command history

Hello,


I am working in zsh terminal and how could I delete specific line of command history? I've already tried history -d <lineNumber> but it seems not work. Any suggestion will be appreciated.

MacBook Pro 16", macOS 10.15

Posted on Apr 27, 2020 7:46 AM

Reply
5 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How could I delete specific line of command history

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.