From a3feb662849e588187f482400f60b2962ec81f36 Mon Sep 17 00:00:00 2001 From: GabrielNagy Date: Tue, 5 Jul 2022 07:13:24 +0000 Subject: [PATCH] Auto update readme files --- README.md | 24 ++++++++++++++++++------ doc/12.-Command-line-reference.md | 24 ++++++++++++++++++------ 2 files changed, 36 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e9f5be806..cbbc12126 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysctl completion bash > /usr/local/etc/bash_completion.d/adsysctl + adsysctl completion bash > $(brew --prefix)/etc/bash_completion.d/adsysctl You will need to start a new shell for this setup to take effect. @@ -224,6 +224,10 @@ to enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc +To load completions in your current shell session: + + source <(adsysctl completion zsh); compdef _adsysctl adsysctl + To load completions for every new session, execute once: ###### Linux: @@ -232,7 +236,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysctl completion zsh > /usr/local/share/zsh/site-functions/_adsysctl + adsysctl completion zsh > $(brew --prefix)/share/zsh/site-functions/_adsysctl You will need to start a new shell for this setup to take effect. @@ -605,7 +609,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysd completion bash > /usr/local/etc/bash_completion.d/adsysd + adsysd completion bash > $(brew --prefix)/etc/bash_completion.d/adsysd You will need to start a new shell for this setup to take effect. @@ -733,6 +737,10 @@ to enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc +To load completions in your current shell session: + + source <(adsysd completion zsh); compdef _adsysd adsysd + To load completions for every new session, execute once: ###### Linux: @@ -741,7 +749,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysd completion zsh > /usr/local/share/zsh/site-functions/_adsysd + adsysd completion zsh > $(brew --prefix)/share/zsh/site-functions/_adsysd You will need to start a new shell for this setup to take effect. @@ -864,7 +872,7 @@ To load completions for every new session, execute once: ###### macOS: - adwatchd completion bash > /usr/local/etc/bash_completion.d/adwatchd + adwatchd completion bash > $(brew --prefix)/etc/bash_completion.d/adwatchd You will need to start a new shell for this setup to take effect. @@ -968,6 +976,10 @@ to enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc +To load completions in your current shell session: + + source <(adwatchd completion zsh); compdef _adwatchd adwatchd + To load completions for every new session, execute once: ###### Linux: @@ -976,7 +988,7 @@ To load completions for every new session, execute once: ###### macOS: - adwatchd completion zsh > /usr/local/share/zsh/site-functions/_adwatchd + adwatchd completion zsh > $(brew --prefix)/share/zsh/site-functions/_adwatchd You will need to start a new shell for this setup to take effect. diff --git a/doc/12.-Command-line-reference.md b/doc/12.-Command-line-reference.md index 6f18f14bc..44533a9f4 100644 --- a/doc/12.-Command-line-reference.md +++ b/doc/12.-Command-line-reference.md @@ -104,7 +104,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysctl completion bash > /usr/local/etc/bash_completion.d/adsysctl + adsysctl completion bash > $(brew --prefix)/etc/bash_completion.d/adsysctl You will need to start a new shell for this setup to take effect. @@ -217,6 +217,10 @@ to enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc +To load completions in your current shell session: + + source <(adsysctl completion zsh); compdef _adsysctl adsysctl + To load completions for every new session, execute once: ###### Linux: @@ -225,7 +229,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysctl completion zsh > /usr/local/share/zsh/site-functions/_adsysctl + adsysctl completion zsh > $(brew --prefix)/share/zsh/site-functions/_adsysctl You will need to start a new shell for this setup to take effect. @@ -598,7 +602,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysd completion bash > /usr/local/etc/bash_completion.d/adsysd + adsysd completion bash > $(brew --prefix)/etc/bash_completion.d/adsysd You will need to start a new shell for this setup to take effect. @@ -726,6 +730,10 @@ to enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc +To load completions in your current shell session: + + source <(adsysd completion zsh); compdef _adsysd adsysd + To load completions for every new session, execute once: ###### Linux: @@ -734,7 +742,7 @@ To load completions for every new session, execute once: ###### macOS: - adsysd completion zsh > /usr/local/share/zsh/site-functions/_adsysd + adsysd completion zsh > $(brew --prefix)/share/zsh/site-functions/_adsysd You will need to start a new shell for this setup to take effect. @@ -857,7 +865,7 @@ To load completions for every new session, execute once: ###### macOS: - adwatchd completion bash > /usr/local/etc/bash_completion.d/adwatchd + adwatchd completion bash > $(brew --prefix)/etc/bash_completion.d/adwatchd You will need to start a new shell for this setup to take effect. @@ -961,6 +969,10 @@ to enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc +To load completions in your current shell session: + + source <(adwatchd completion zsh); compdef _adwatchd adwatchd + To load completions for every new session, execute once: ###### Linux: @@ -969,7 +981,7 @@ To load completions for every new session, execute once: ###### macOS: - adwatchd completion zsh > /usr/local/share/zsh/site-functions/_adwatchd + adwatchd completion zsh > $(brew --prefix)/share/zsh/site-functions/_adwatchd You will need to start a new shell for this setup to take effect.