I'm getting linux set up (gentoo) with lily, but for some reason the path refuses to work. I can run the command /usr/local/bin/lilypond just fine on a file, but the command "lilypond" returns a "command not found." (I'd like to get this to work so I can compile from vim.)
Here's my path, something I don't fully understand but seems like it should work. Any suggestions for something better? What's going wrong?
if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}" else PATH="/usr/local/bin:/usr/bin:/bin:${PATH}" fi export PATH unset ROOTPATH