2016-12-26 91 views
0

使用vagrant/zsh。安装tmuxinatorzsh:找不到命令:tmuxinator

➜ ~ gem list tmuxinator 
*** LOCAL GEMS *** 
tmuxinator (0.9.0) 

设置完成

➜ ~ ls ~/.bin 
tmuxinator.zsh 

.zshrc

... 
source ~/.bin/tmuxinator.zsh 

但运行tmuxinator

➜ ~ tmuxinator 
zsh: command not found: tmuxinator 

为什么当?

回答

0

使用tmuxinator doctor检查是否一切正常安装和设置。

我在一个新的vagrant ubuntu盒子上安装了tmuxinator。我不得不导出我的编辑器和shell变量。我跑tmuxinator医生,告诉我一切都很好:

[email protected] ~ ❯❯❯ tmuxinator doctor             ⏎ 
Checking if tmux is installed ==> Yes 
Checking if $EDITOR is set ==> Yes 
Checking if $SHELL is set ==> Yes 

我没有大惊小怪tmuninator.zsh启动它。请注意该exe文件位于:

[email protected] ~ ❯❯❯ which -a tmuxinator             ⏎ 
/usr/local/bin/tmuxinator