Last active
January 20, 2023 17:01
-
-
Save a-mhamdi/ab6bfe2fa8b26852d9d5f0816d773d44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--------------------# | |
# JULIA STARTUP FILE # | |
#--------------------# | |
# This file should contain site-specific commands to be executed on Julia startup; | |
# Users may store their own personal commands in `~/.julia/config/startup.jl`. | |
ENV["EDITOR"]="vim" | |
# [Plot Themes](https://docs.juliaplots.org/latest/generated/plotthemes) | |
const PLOTS_DEFAULTS = Dict(:theme => :dracula) | |
import Pkg; | |
if isfile("Project.toml") && isfile("Manifest.toml") | |
Pkg.activate(".") | |
end | |
try | |
#= | |
@eval using Revise | |
# Turn on Revise's automatic-evaluation behavior | |
Revise.async_steal_repl_backend() | |
@eval using Rebugger | |
# Activate Rebugger's key bindings | |
atreplinit(Rebugger.repl_init) | |
=# | |
using OhMyREPL | |
colorscheme!("Monokai24bit") | |
catch err | |
@warn "Could not load startup packages." | |
end | |
showall(x) = show(stdout, "text/plain", x) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment