mirror of https://github.com/fredrikekre/.dotfiles
1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
#!/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 |
||||||
|
} |
||||||
Loading…
Reference in new issue