feat: better julia startup file

This commit is contained in:
Flinner Yuu 2026-03-05 02:20:49 +03:00
parent 241c936383
commit 5fc148b208
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 19 additions and 0 deletions

View File

@ -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