From c22a5100c21f3ce2766a489e14c151a88a523619 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 12 Aug 2024 13:09:35 -0500 Subject: [PATCH] docs(complete): Fix registration commands --- clap_complete/src/dynamic/env/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clap_complete/src/dynamic/env/mod.rs b/clap_complete/src/dynamic/env/mod.rs index 7c7257cf340..be736e759b5 100644 --- a/clap_complete/src/dynamic/env/mod.rs +++ b/clap_complete/src/dynamic/env/mod.rs @@ -20,27 +20,27 @@ //! //! Bash //! ```bash -//! echo "source <(COMPLETE=bash your_program complete)" >> ~/.bashrc +//! echo "source <(COMPLETE=bash your_program)" >> ~/.bashrc //! ``` //! //! Elvish //! ```elvish -//! echo "eval (COMPLETE=elvish your_program complete)" >> ~/.elvish/rc.elv +//! echo "eval (COMPLETE=elvish your_program)" >> ~/.elvish/rc.elv //! ``` //! //! Fish //! ```fish -//! echo "source (COMPLETE=fish your_program complete | psub)" >> ~/.config/fish/config.fish +//! echo "source (COMPLETE=fish your_program | psub)" >> ~/.config/fish/config.fish //! ``` //! //! Powershell //! ```powershell -//! echo "COMPLETE=powershell your_program complete | Invoke-Expression" >> $PROFILE +//! echo "COMPLETE=powershell your_program | Invoke-Expression" >> $PROFILE //! ``` //! //! Zsh //! ```zsh -//! echo "source <(COMPLETE=zsh your_program complete)" >> ~/.zshrc +//! echo "source <(COMPLETE=zsh your_program)" >> ~/.zshrc //! ``` mod shells;