File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -224,8 +224,14 @@ To get started you may need to restart your current shell.
224
224
This would reload your `PATH` environment variable to include
225
225
Cargo's bin directory ({cargo_home}/bin).
226
226
227
- To configure your current shell, run:
227
+ To configure your current shell, you need to source
228
+ the `env` file ({cargo_home}/env).
229
+
230
+ This is usually done by running:
228
231
source "{cargo_home}/env"
232
+
233
+ The `source` command above might need to be replaced with `.`
234
+ on shells like `ash`, `dash`, or `pdksh`.
229
235
"#
230
236
} ;
231
237
}
@@ -251,8 +257,14 @@ macro_rules! post_install_msg_unix_no_modify_path {
251
257
To get started you need Cargo's bin directory ({cargo_home}/bin) in your `PATH`
252
258
environment variable. This has not been done automatically.
253
259
254
- To configure your current shell, run:
260
+ To configure your current shell, you need to source
261
+ the `env` file ({cargo_home}/env).
262
+
263
+ This is usually done by running:
255
264
source "{cargo_home}/env"
265
+
266
+ The `source` command above might need to be replaced with `.`
267
+ on shells like `ash`, `dash`, or `pdksh`.
256
268
"#
257
269
} ;
258
270
}
You can’t perform that action at this time.
0 commit comments