@@ -225,13 +225,12 @@ This would reload your `PATH` environment variable to include
225
225
Cargo's bin directory ({cargo_home}/bin).
226
226
227
227
To configure your current shell, you need to source
228
- the `env` file ( {cargo_home}/env) .
228
+ the corresponding `env` file under {cargo_home}.
229
229
230
- This is usually done by running:
231
- source "{cargo_home}/env"
232
-
233
- The `source` command above might need to be replaced with `.`
234
- on shells like `ash`, `dash` and `pdksh`.
230
+ This is usually done by running one of the following:
231
+ source "{cargo_home}/env" # For bash/zsh
232
+ . "{cargo_home}/env" # For ash/dash/pdksh (note the leading DOT)
233
+ source "{cargo_home}/env.fish" # For fish
235
234
"#
236
235
} ;
237
236
}
@@ -258,13 +257,12 @@ To get started you need Cargo's bin directory ({cargo_home}/bin) in your `PATH`
258
257
environment variable. This has not been done automatically.
259
258
260
259
To configure your current shell, you need to source
261
- the `env` file ({cargo_home}/env).
262
-
263
- This is usually done by running:
264
- source "{cargo_home}/env"
260
+ the corresponding `env` file under {cargo_home}.
265
261
266
- The `source` command above might need to be replaced with `.`
267
- on shells like `ash`, `dash` and `pdksh`.
262
+ This is usually done by running one of the following:
263
+ source "{cargo_home}/env" # For bash/zsh
264
+ . "{cargo_home}/env" # For ash/dash/pdksh (note the leading DOT)
265
+ source "{cargo_home}/env.fish" # For fish
268
266
"#
269
267
} ;
270
268
}
0 commit comments