Skip to content

Commit c58c0d5

Browse files
committed
Remove path modification from .bash_profile
1 parent e5103e5 commit c58c0d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rustup-cli/self_update.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,8 +1128,9 @@ fn get_remove_path_methods() -> Result<Vec<PathUpdateMethod>> {
11281128
}
11291129

11301130
let profile = utils::home_dir().map(|p| p.join(".profile"));
1131+
let bash_profile = utils::home_dir().map(|p| p.join(".bash_profile"));
11311132

1132-
let rcfiles = vec![profile];
1133+
let rcfiles = vec![profile, bash_profile];
11331134
let existing_rcfiles = rcfiles.into_iter()
11341135
.filter_map(|f|f)
11351136
.filter(|f| f.exists());

0 commit comments

Comments
 (0)