Skip to content

Commit 7b00bb5

Browse files
timholystevengj
authored andcommitted
Don't load startup_ijulia.jl with --startup-file=no (JuliaLang#748)
1 parent a5860bb commit 7b00bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kernel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99
IJulia.init(ARGS)
1010

1111
startupfile = abspath(homedir(), ".julia", "config", "startup_ijulia.jl")
12-
isfile(startupfile) && Base.include(Main, startupfile)
12+
isfile(startupfile) && Base.JLOptions().startupfile != 2 && Base.include(Main, startupfile)
1313

1414
# import things that we want visible in IJulia but not in REPL's using IJulia
1515
import IJulia: ans, In, Out, clear_history

0 commit comments

Comments
 (0)