Skip to content

Commit 6838d76

Browse files
WaffleLapkinrami3l
authored andcommitted
Fix fish config dir paths
1 parent 471bbad commit 6838d76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/self_update/shell.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ impl UnixShell for Fish {
220220
fn rcfiles(&self) -> Vec<PathBuf> {
221221
let p0 = process().var("XDG_CONFIG_HOME").ok().map(|p| {
222222
let mut path = PathBuf::from(p);
223-
path.push("fish/config.d/rustup.fish");
223+
path.push("fish/conf.d/rustup.fish");
224224
path
225225
});
226226

227227
let p1 = utils::home_dir().map(|mut path| {
228-
path.push(".config/fish/config.d/rustup.fish");
228+
path.push(".config/fish/conf.d/rustup.fish");
229229
path
230230
});
231231

0 commit comments

Comments
 (0)