1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00
dotfiles/.julia/config/startup.jl
2022-03-20 05:22:56 +01:00

20 lines
432 B
Julia

ENV["JULIA_SHELL"] = "/usr/bin/fish"
ENV["JULIA_EDITOR"] = "nvim"
using Pkg: Pkg
Pkg.update()
project_path = Pkg.project().path
project_dir = split(project_path, "/")[end - 1]
if !(project_dir in ("nvim-lspconfig",))
println("Startup setup...")
using OhMyREPL: OhMyREPL
using BenchmarkTools: @btime, @benchmark
using Revise: Revise, includet
if isfile("Project.toml")
Pkg.activate(".")
end
end