From 1acd79e6e80a53f18c8241850d876f0049fa57d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alja=C5=BE=20Mur=20Er=C5=BEen?= Date: Fri, 28 Feb 2025 17:27:52 +0000 Subject: [PATCH] Install completions for both edgedb and gel (#1513) --- src/cli/gen_completions.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/cli/gen_completions.rs b/src/cli/gen_completions.rs index 715a0be8..41436ef4 100644 --- a/src/cli/gen_completions.rs +++ b/src/cli/gen_completions.rs @@ -57,14 +57,11 @@ fn write_completion(path: &Path, shell: Shell) -> anyhow::Result<()> { pub fn write_completions_home() -> anyhow::Result<()> { let home = home_dir()?; write_completion( - &home.join(".local/share/bash-completion/completions/edgedb"), + &home.join(".local/share/bash-completion/completions/gel"), Shell::Bash, )?; - write_completion( - &home.join(".config/fish/completions/edgedb.fish"), - Shell::Fish, - )?; - write_completion(&home.join(".zfunc/_edgedb"), Shell::Zsh)?; + write_completion(&home.join(".config/fish/completions/gel.fish"), Shell::Fish)?; + write_completion(&home.join(".zfunc/_gel"), Shell::Zsh)?; Ok(()) } #[derive(Debug, Clone, Copy, clap::ValueEnum)]