diff options
author | Ethan P <eth-p+git@hidden.email> | 2019-09-27 12:13:55 -0700 |
---|---|---|
committer | Ethan P <eth-p+git@hidden.email> | 2019-09-27 12:13:55 -0700 |
commit | ea2179b35289c9217669e7fda0685f20d699dd50 (patch) | |
tree | a5e01a7b3b2f191fb044f2d3d21cc479f20f6f38 /build.rs | |
parent | c8478cedc54db60f6149c6e2c72d8103582edfd4 (diff) |
Update fish completions to use parameterized names
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -54,12 +54,19 @@ fn template( fn main() -> Result<(), Box<dyn Error>> { let variables = init_template(); + template( &variables, "assets/manual/bat.1.in", &format!("assets/manual/{}.1", EXECUTABLE_NAME.to_owned()), )?; + template( + &variables, + "assets/completions/bat.fish.in", + &format!("assets/completions/{}.fish", EXECUTABLE_NAME.to_owned()), + )?; + Ok(()) } |