From 0cc2bd507b78906b162c4c1d4ba83613d13f0069 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Wed, 21 Dec 2022 20:20:43 -0500 Subject: [PATCH] Fix path in previous commit --- src/cmd/bootstrap/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/bootstrap/mod.rs b/src/cmd/bootstrap/mod.rs index f0800b9..60e2225 100644 --- a/src/cmd/bootstrap/mod.rs +++ b/src/cmd/bootstrap/mod.rs @@ -145,7 +145,7 @@ fn completions(prefix: &str, matches: &ArgMatches) -> Result<(), io::Error> { COMMANDS.iter().try_for_each(|cmd| gen_bash_completion(&outdir, &cmd) )?; } if matches.get_flag("fish") || matches.get_flag("all") { - let outdir: PathBuf = ["target", "dist", "share", "fish", "completions"] + let outdir: PathBuf = [prefix, "share", "fish", "completions"] .iter() .collect(); if !outdir.exists() {