Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么tmuxinator zsh完整文件不工作?_Zsh_Tmux_Rbenv_Oh My Zsh_Tmuxinator - Fatal编程技术网

为什么tmuxinator zsh完整文件不工作?

为什么tmuxinator zsh完整文件不工作?,zsh,tmux,rbenv,oh-my-zsh,tmuxinator,Zsh,Tmux,Rbenv,Oh My Zsh,Tmuxinator,根据提示,我下载了这个文件 进入/usr/local/share/zsh/site functions/\u tmuxinator(文件路径),但自动完成不起作用 . /usr/local/share/zsh/site-functions/_tmuxinator 然后我在~/.zshrc中像下面那样编写文件,它也不工作 . /usr/local/share/zsh/site-functions/_tmuxinator 我的配置环境是: zsh:zsh 5.8(x86_64-suse-li

根据提示,我下载了这个文件

进入
/usr/local/share/zsh/site functions/\u tmuxinator
(文件路径),但自动完成不起作用

. /usr/local/share/zsh/site-functions/_tmuxinator
然后我在
~/.zshrc
中像下面那样编写文件,它也不工作

. /usr/local/share/zsh/site-functions/_tmuxinator
我的配置环境是:

  • zsh:zsh 5.8(x86_64-suse-linux-gnu)
  • tmuxinator:tmuxinator 2.0.1
我使用
ohmyzsh
作为我的zsh环境和rbenv来安装tmuxinator

我的系统中的fpath环境变量为:

/home/run/.oh-my-zsh/plugins/git /home/run/.oh-my-zsh/functions /home/run/.oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh//functions/Calendar /usr/share/zsh//functions/Chpwd /usr/share/zsh//functions/Completion /usr/share/zsh//functions/Completion/Base /usr/share/zsh//functions/Completion/Linux /usr/share/zsh//functions/Completion/Unix /usr/share/zsh//functions/Completion/X /usr/share/zsh//functions/Completion/Zsh /usr/share/zsh//functions/Completion/openSUSE /usr/share/zsh//functions/Exceptions /usr/share/zsh//functions/MIME /usr/share/zsh//functions/Math /usr/share/zsh//functions/Misc /usr/share/zsh//functions/Newuser /usr/share/zsh//functions/Prompts /usr/share/zsh//functions/TCP /usr/share/zsh//functions/VCS_Info /usr/share/zsh//functions/VCS_Info/Backends /usr/share/zsh//functions/Zftp /usr/share/zsh//functions/Zle /etc/zsh_completion.d

其中包括目录
/usr/local/share/zsh/site functions

您可能需要强制重新生成
zcompdump

rm -f ~/.zcompdump; compinit