The zshcompsys
man
-page says:
INITIALIZATION
If the system was installed completely, it should be enough to call the shell function
compinit
from your initialization file; see the next section. However, the functioncompinstall
can be run by a user to configure various aspects of the completion system.
zsh
can't find the commands though:
genesis% compinit
zsh: command not found: compinit
genesis% compinstall
zsh: command not found: compinstall
genesis% echo $PATH
/home/ravi/bin:/home/ravi/.gem/ruby/2.4.0/bin:/home/ravi/bin:/home/ravi/.gem/ruby/2.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/heroku/bin:/home/ravi/.cabal/bin:/home/ravi/.local/share/fzf/bin:/usr/local/heroku/bin:/home/ravi/.cabal/bin
genesis%
I'm lead to ask this question because when starting zsh
I get:
tmuxinator.zsh:20: command not found: compdef
How do I get zsh
to find these completion commands?