/dev/fd/12:18: command not found: compdef

i write ps in terminal and statement is :


PID TTY           TIME CMD


 1777 ttys000    0:00.47 zsh


 2302 ttys001    0:00.09 -zsh


 2565 ttys002    0:00.08 -zsh


How can I repair it? thank you


MacBook Pro

Posted on Sep 3, 2022 11:25 AM

Reply
4 replies

Sep 4, 2022 7:24 AM in response to VikingOSX

Ok this is whole Problem: I started project on Terminál with npm run start and this is statement....whats wrong? I use autoload -Uz compinstall && compinstall


Last login: Sun Sep  4 15:59:15 on ttys000


/dev/fd/12:18: command not found: compdef


pavolcuninka@MacBook- ~ % autoload -Uz compinstall && compinstall


I have found completion definitions in /Users-.zshrc.


If you want me to read these, just hit return.  Otherwise, edit the file


name to look for definitions somewhere else, or delete the whole line


in order not to use existing definitions.


file> /Users.../.zshrc


Note that you will be given a chance to save the new setup


somewhere else at the end.


--- Hit newline to continue or `q' to exit without saving --- 




Completion directory /usr/share/zsh/5.8.1/functions


is already in your $fpath, good.


--- Hit newline to continue or `q' to exit without saving --- 


















               *** compinstall: main menu ***


Note that hitting `q' in menus does not abort the set of changes from


lower level menus.  However, quitting at top level will ensure that nothing


at all is actually written out.




1.  Completers:  choose completion behaviour for tasks such as


    approximation, spell-checking, expansion.




username@MacBook-Pro- ~ %   


username@MacBook-Pro- ~ % cd /Users/user/IdeaProjects/frontend


username@MacBook-Pro- frontend % npm run start




> java04-final-project@0.0.0 start


> ng serve




✔ Browser application bundle generation complete.




Initial Chunk Files   | Names         |  Raw Size


vendor.js             | vendor        |   2.57 MB | 


polyfills.js          | polyfills     | 315.31 kB | 


styles.css, styles.js | styles        | 209.10 kB | 


main.js               | main          | 173.18 kB | 


runtime.js            | runtime       |   6.54 kB | 




                      | Initial Total |   3.26 MB




Build at: 2022-09-04T14:17:10.958Z - Hash: 9267f0f804118fac - Time: 13103ms




** Angular Live Development Server is listening on localhost:






✔ Compiled successfully.

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.

/dev/fd/12:18: 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.