/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
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
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.
There are steps you must take if you plan to use the Zsh autocompletions and avoid that missing compdef.
See this UNIX StackExchange article for the solution. This is a 2018 article, and you should confer with the Zsh 5.8.* manual for currency on compinit and friends.
You have three Terminal windows open and the ps(1) command is doing what it is supposed to do, as you provided it no arguments. In the Terminal, type the following to get instruction on the ps command usage:
man -t ps | open -f -a Preview
Also, see this article on ps usage.
Thank you for article and ok i Closed all windows an terminal opened new window and it is Looks like this.... can you give me some tip how solve this:
Last login: Sat Sep 3 23:01:58 on ttys000
/dev/fd/12:18: command not found: compdef
-myuser name@Mac book ~ %
/dev/fd/12:18: command not found: compdef