I was trying to add the mvim shell script to /usr/local/bin form bash as per this question and everything seemed to work; however, I am still getting "command not found" whenever I try to execute the script.
From the directory where my mvim file is (Downloads), I typed:
sudo cp -v mvim /usr/local/bin
and I get output:
mvim -> /usr/local/bin
and then it doesn't work whether I type mvim
or mvim -v
I've never added something to my $PATH before, but even after looking up a number of tutorials on how it is done, I can't seem to get mvim
to work as a terminal command.
EDIT:
echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
and
ls -l mvim
-rwxr-xr-x ...
and
ls -l /usr/local/bin
-rwxr-xr-x ...