command not found: compdef


Terminal saying "command not found: compdef"

How to fix this?

MacBook Pro Apple Silicon

Posted on Jun 27, 2022 7:15 AM

Reply
3 replies

Jun 28, 2022 6:35 AM in response to suhailkc3

suhailkc3 wrote:

https://discussions.apple.com/content/attachment/89043366-3626-4dd2-9a8f-eda71e66ffab

Terminal saying "command not found: compdef"
How to fix this?


And what is this < compde >

W̶h̶a̶t̶ ̶i̶s̶ ̶y̶o̶u̶r̶ ̶c̶u̶r̶r̶e̶n̶t̶ ̶s̶h̶e̶l̶l̶.̶.̶.̶(̶?̶)̶


I see your default zsh


MacBook-Pro ~ %

man compdef | more

No manual entry for compdef



I see this ref: https://zsh.sourceforge.io/Doc/Release/Completion-System.html



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.

command not found: compdef

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