Last active
January 28, 2023 17:54
-
-
Save AbhimanyuAryan/d0cfbb957088200318376c14f3e2329c to your computer and use it in GitHub Desktop.
julia configurations on repl initialization
This file contains hidden or 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
#ENV["JULIA_PKG_DEVDIR"] = "C:\\Users\\aryan\\Documents\\mydev" | |
atreplinit() do repl | |
try | |
@eval using OhMyREPL | |
@eval using Crayons | |
@eval OhMyREPL.input_prompt!(string(VERSION) * ">", :green) | |
@eval OhMyREPL.enable_autocomplete_brackets(true) | |
@eval OhMyREPL.Passes.BracketHighlighter.setcrayon!(Crayon(background= :red, foreground = :green)) | |
# Term.jl | |
@eval using Term | |
@eval using Term.Layout | |
@eval using Term.Repr | |
@eval using Term.Progress | |
@eval import Term: install_term_logger | |
@eval install_term_logger() | |
@eval import Term: install_term_stacktrace | |
@eval install_term_stacktrace() | |
@eval import Term: typestree | |
@eval import Term: expressiontree | |
#Garish Print | |
@eval using GarishPrint | |
catch e | |
@warn "error while importing OhMyREPL" e | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment