Trying to make terminal alias

aliasterminal

I'm trying to create an alias in my .bash_profile to run an application in the terminal window (Julia programming language), the same way you would run Python from the terminal window by typing "python".

I created a .bash_profile and put

alias julia="path"

But it says 'No such file or directory', and in fact I tested it out with directories that I know exist, and no matter what I put there, when I type the command in the terminal it still says it. Can anyone troubleshoot this for me?

Thanks.

Best Answer

To answer your question:

alias julia="/Applications/Julia-0.3.0.app/Contents/Resources/julia/bin/julia"

tested.

(You need to make sure the alias goes inside the OS X app package all the way to binary.)