Skip to content

Commit 81f96da

Browse files
committed
Adjust suggestions about sourcing env files
1 parent 737ad82 commit 81f96da

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cli/self_update.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,9 @@ macro_rules! post_install_msg_unix_source_env {
221221
r#"To configure your current shell, you need to source
222222
the corresponding `env` file under {cargo_home}.
223223
224-
This is usually done by running one of the following:
225-
source "{cargo_home}/env" # For bash/zsh
226-
. "{cargo_home}/env" # For ash/dash/pdksh (note the leading DOT)
227-
source "{cargo_home}/env.fish" # For fish
224+
This is usually done by running one of the following (note the leading DOT):
225+
. "{cargo_home}/env" # For sh/bash/zsh/ash/dash/pdksh
226+
source "{cargo_home}/env.fish" # For fish
228227
"#
229228
};
230229
}

0 commit comments

Comments
 (0)