Created
November 2, 2014 01:06
-
-
Save garborg/21f6edbd6f6bd518c929 to your computer and use it in GitHub Desktop.
Adapted from Jake Bolewski's julia aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 $@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 $@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On my machine,
julia
is the release branch andjulia-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.