Skip to content

Instantly share code, notes, and snippets.

@garborg
Created November 2, 2014 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garborg/21f6edbd6f6bd518c929 to your computer and use it in GitHub Desktop.
Save garborg/21f6edbd6f6bd518c929 to your computer and use it in GitHub Desktop.
Adapted from Jake Bolewski's julia aliases
#!/bin/sh
$SHELL -c '
echo -e "\e[92mExporting pkg path as:\e[0m"
export JULIA_PKGDIR="/Users/sean/.julia/v0.4/"
echo $JULIA_PKGDIR
echo -e "\e[92mRunning on Julia release\e[0m"
'"julia $@"'
echo -e "\e[92mRunning on Julia master\e[0m"
'"julia-dev $@"
#!/bin/sh
$SHELL -c '
echo -e "\e[92mExporting pkg path as:\e[0m"
export JULIA_PKGDIR="/Users/sean/.julia/v0.4/"
echo "$JULIA_PKGDIR"
echo -e "\e[92mRunning on Julia release\e[0m"
'"julia $@"
@garborg
Copy link
Author

garborg commented Nov 2, 2014

On my machine, julia is the release branch and julia-dev is the master branch. It's only wrapped in strings because I was curious how to get both bash and zsh to handle it correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment