In my ~/.bash_profile I've defined a couple of aliases, like

alias julia4="Users/rob/Projects/Julia/julia/julia"

and then type 'julia4' in the terminal to start Julia in that same terminal.

The first part, Users/rob/Projects/Julia/julia/, is the path to the directory 
where I make Julia0.4.

Similarly, the 'julia' alias points to the official v0.3 binary in 
/Applications/julia.app/.../bin/julia.

From memory, haven't got my laptop with me while traveling,
Regards,
Rob

Sent from Rob Goedman's iPad Mini


> On Sep 2, 2014, at 08:28, Christoph Ortner <[email protected]> wrote:
> 
> The file `~/.bash_profile'  should contain something like this:
> 
> export 
> PATH="~/Dropbox/Admin/scripts:/Applications/Julia-0.3.0.app/Contents/MacOS:/Users/ortner/anaconda/bin:$PATH"
> 
> However, it will always open a new terminal, rather than opening julia in 
> your current terminal. If anybody knows how to fix this, i would love to hear.
> 
> Christoph
> 
>> On Tuesday, 2 September 2014 06:16:02 UTC+1, Anonymous wrote:
>> I'm trying to figure out how to create an alias/shortcut whatever in the mac 
>> terminal so that I can just type "julia" and julia will start up, just the 
>> way python works when I type "python".  It's something about a bash or 
>> something.

Reply via email to