Skip to content

Commit

Permalink
docs(complete): Fix registration commands
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 12, 2024
1 parent 050b6c5 commit c22a510
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clap_complete/src/dynamic/env/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c22a510

Please sign in to comment.