Skip to content

Instantly share code, notes, and snippets.

@AbhimanyuAryan
Last active January 28, 2023 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhimanyuAryan/d0cfbb957088200318376c14f3e2329c to your computer and use it in GitHub Desktop.
Save AbhimanyuAryan/d0cfbb957088200318376c14f3e2329c to your computer and use it in GitHub Desktop.
julia configurations on repl initialization
#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