I have been dealing with this issue for a couple of days. I am using zsh and you need to set the directory path so that the recognized command is recognized. After these steps:
cd ~ ls -al
ls -al shows me the following files:
.oh-my-zsh .profile .putty .rediscli_history .ringo-history .ssh .subversion .viminfo .zcompdump .zsh-update .zsh_history .zshrc
I assume I need to add the path to .zshrc , therefore:
open -e .zshrc
At the end of the file, I added the path to the command that I will use to install my project (using ringojs):
export PATH=Users/repos/ringojs/bin/:$PATH
Close the file, restart the terminal application, restart the computer, however the command ( ringo-admin ) located on the path above ( /Users/repos/ringojs/bin ) was not found:
ringo-admin create
Please help me with this if this helps, here is my .zshrc content:
# Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh
Please guide me step by step as I am new to zsh . Thanx.
UPDATE:
echo $ PATH displays me a newly added directory:
/Users/repos/ringojs/bin/ringo-admin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
I do not understand why the team is not always found.
source share