remove stale code

This commit is contained in:
steven-omaha
2023-02-24 14:14:33 +01:00
parent 93d4c58a00
commit e4fe73c7eb
-12
View File
@@ -381,15 +381,3 @@ pub const fn get_version_string() -> &'static str {
formatcp!("{VERSION} ({HASH})") formatcp!("{VERSION} ({HASH})")
} }
} }
fn generate_shell_completion() -> Result<()> {
let mut output = File::create("_pacdef")?;
clap_complete::generate(
clap_complete::Shell::Zsh,
&mut crate::args::build_cli(),
"pacdef",
&mut output,
);
println!("completion written to _pacdef");
Ok(())
}