You need to add directory with your script to the PATH variable:
export PATH="$PATH:/path/to/dir"
or you can even add current directory to the PATH:
export PATH="$PATH:."
The later has some security drawback though.
You need to add directory with your script to the PATH variable:
export PATH="$PATH:/path/to/dir"
or you can even add current directory to the PATH:
export PATH="$PATH:."
The later has some security drawback though.