We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68355a5 commit 471bbadCopy full SHA for 471bbad
src/cli/self_update/shell.rs
@@ -233,16 +233,7 @@ impl UnixShell for Fish {
233
}
234
235
fn update_rcs(&self) -> Vec<PathBuf> {
236
- if let Ok(home) = process().var("XDG_CONFIG_HOME") {
237
- let mut path = PathBuf::from(home);
238
- path.push("fish/config.d/rustup.fish");
239
- vec![path]
240
- } else if let Some(mut path) = utils::home_dir() {
241
- path.push(".config/fish/config.d/rustup.fish");
242
243
- } else {
244
- Vec::new()
245
- }
+ self.rcfiles()
246
247
248
0 commit comments