mirror of https://github.com/Flinner/dots.git
feat: better julia startup file
This commit is contained in:
parent
241c936383
commit
5fc148b208
|
|
@ -1,5 +1,24 @@
|
||||||
|
using Pkg
|
||||||
|
if isfile("Project.toml") && isfile("Manifest.toml")
|
||||||
|
Pkg.activate(".")
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
using Revise
|
using Revise
|
||||||
catch e
|
catch e
|
||||||
@warn "Error initializing Revise" exception=(e, catch_backtrace())
|
@warn "Error initializing Revise" exception=(e, catch_backtrace())
|
||||||
end
|
end
|
||||||
|
|
||||||
|
try
|
||||||
|
using BenchmarkTools
|
||||||
|
catch e
|
||||||
|
@warn "Error initializing Revise" exception=(e, catch_backtrace())
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
try
|
||||||
|
@eval using OhMyREPL
|
||||||
|
catch e
|
||||||
|
@warn "error while importing OhMyREPL" e
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue