docs: note temp autocomplete, less whitespace
This commit is contained in:
parent
b978f04910
commit
b6009057a8
@ -12,7 +12,7 @@ var AutocompleteCommand = &cobra.Command{
|
|||||||
Long: `To load completions:
|
Long: `To load completions:
|
||||||
|
|
||||||
Bash:
|
Bash:
|
||||||
|
# Load autocompletion for the current Bash session
|
||||||
$ source <(abra autocomplete bash)
|
$ source <(abra autocomplete bash)
|
||||||
|
|
||||||
# To load autocompletion for each session, execute once:
|
# To load autocompletion for each session, execute once:
|
||||||
@ -22,7 +22,6 @@ Bash:
|
|||||||
$ abra autocomplete bash | sudo tee $(brew --prefix)/etc/bash_completion.d/abra
|
$ abra autocomplete bash | sudo tee $(brew --prefix)/etc/bash_completion.d/abra
|
||||||
|
|
||||||
Zsh:
|
Zsh:
|
||||||
|
|
||||||
# If shell autocompletion is not already enabled in your environment,
|
# If shell autocompletion is not already enabled in your environment,
|
||||||
# you will need to enable it. You can execute the following once:
|
# you will need to enable it. You can execute the following once:
|
||||||
|
|
||||||
@ -34,14 +33,12 @@ Zsh:
|
|||||||
# You will need to start a new shell for this setup to take effect.
|
# You will need to start a new shell for this setup to take effect.
|
||||||
|
|
||||||
fish:
|
fish:
|
||||||
|
|
||||||
$ abra autocomplete fish | source
|
$ abra autocomplete fish | source
|
||||||
|
|
||||||
# To load autocompletions for each session, execute once:
|
# To load autocompletions for each session, execute once:
|
||||||
$ abra autocomplete fish > ~/.config/fish/completions/abra.fish
|
$ abra autocomplete fish > ~/.config/fish/completions/abra.fish
|
||||||
|
|
||||||
PowerShell:
|
PowerShell:
|
||||||
|
|
||||||
PS> abra autocomplete powershell | Out-String | Invoke-Expression
|
PS> abra autocomplete powershell | Out-String | Invoke-Expression
|
||||||
|
|
||||||
# To load autocompletions for every new session, run:
|
# To load autocompletions for every new session, run:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user