mirror of https://github.com/fredrikekre/.dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
341 B
16 lines
341 B
#!/bin/bash |
|
|
|
JULIA_VERSIONS="/opt/julia" |
|
|
|
julia_args() { |
|
# Create a bin directory |
|
mkdir -p bin |
|
# Create a wrapper script to call julia with the arguments |
|
echo "#!/bin/bash |
|
exec $(which julia) "$@" \"\$@\" |
|
" > bin/julia |
|
# Make it executable |
|
chmod +x bin/julia |
|
# Make sure bin is in PATH |
|
PATH_add bin |
|
}
|
|
|