From 5fc148b2089f5d1fda1b243e3d158f31ba8d6e94 Mon Sep 17 00:00:00 2001 From: Flinner Yuu Date: Thu, 5 Mar 2026 02:20:49 +0300 Subject: [PATCH] feat: better julia startup file --- julia/.julia/config/startup.jl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/julia/.julia/config/startup.jl b/julia/.julia/config/startup.jl index 3daa104..34e214c 100644 --- a/julia/.julia/config/startup.jl +++ b/julia/.julia/config/startup.jl @@ -1,5 +1,24 @@ +using Pkg +if isfile("Project.toml") && isfile("Manifest.toml") + Pkg.activate(".") +end + + try using Revise catch e @warn "Error initializing Revise" exception=(e, catch_backtrace()) 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