122
122
# entries starting with `@` are named environments:
123
123
# - the first three `#`s in a named environment are replaced with version numbers
124
124
# - `@stdlib` is a special name for the standard library and expands to its path
125
+ # - `@temp` expands to a temporary directory path
125
126
126
127
# if you want a current env setup, use direnv and
127
128
# have your .envrc do something like this:
@@ -131,21 +132,23 @@ end
131
132
# this will inherit an existing JULIA_LOAD_PATH value or if there is none, leave
132
133
# a trailing empty entry in JULIA_LOAD_PATH which will be replaced with defaults.
133
134
134
- const DEFAULT_LOAD_PATH = [" @" , " @v#.#" , " @stdlib" ]
135
+ const DEFAULT_LOAD_PATH = [" @" , " @temp " , " @ v#.#" , " @stdlib" ]
135
136
136
137
"""
137
138
LOAD_PATH
138
139
139
140
An array of paths for `using` and `import` statements to consider as project
140
141
environments or package directories when loading code. It is populated based on
141
142
the [`JULIA_LOAD_PATH`](@ref JULIA_LOAD_PATH) environment variable if set;
142
- otherwise it defaults to `["@", "@v#.#", "@stdlib"]`. Entries starting with `@`
143
+ otherwise it defaults to `["@", "@temp", "@ v#.#", "@stdlib"]`. Entries starting with `@`
143
144
have special meanings:
144
145
145
146
- `@` refers to the "current active environment", the initial value of which is
146
147
initially determined by the [`JULIA_PROJECT`](@ref JULIA_PROJECT) environment
147
148
variable or the `--project` command-line option.
148
149
150
+ - `@temp` expands to a temporary directory.
151
+
149
152
- `@stdlib` expands to the absolute path of the current Julia installation's
150
153
standard library directory.
151
154
0 commit comments