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

19 lines
396 B
Julia
Raw Normal View History

2022-05-06 12:18:00 +00:00
ENV["JULIA_SHELL"] = "/usr/bin/fish"
2022-03-20 04:22:56 +00:00
ENV["JULIA_EDITOR"] = "nvim"
using Pkg: Pkg
Pkg.update()
project_path = Pkg.project().path
2022-04-23 21:08:24 +00:00
project_dir = split(project_path, "/")[end-1]
2022-03-20 04:22:56 +00:00
if !(project_dir in ("nvim-lspconfig",))
using OhMyREPL: OhMyREPL
using BenchmarkTools: @btime, @benchmark
using Revise: Revise, includet
if isfile("Project.toml")
Pkg.activate(".")
2022-04-23 21:08:24 +00:00
end
2022-03-20 04:22:56 +00:00
end