mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
*: capitalize shell names (#18560)
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
|
||||
`enable`
|
||||
|
||||
- Disable a builtin (works in `bash` only):
|
||||
- Disable a builtin (works in Bash only):
|
||||
|
||||
`enable -n {{command}}`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pulumi gen-completion
|
||||
|
||||
> Generate completion scripts for the Pulumi CLI.
|
||||
> Supported shells are bash, zsh, fish.
|
||||
> Supported shells are Bash, Zsh, fish.
|
||||
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_gen-completion/>.
|
||||
|
||||
- Generate completion scripts:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# zinit
|
||||
|
||||
> Flexible and blazing fast `zsh` plugin manager.
|
||||
> Flexible and blazing fast Zsh plugin manager.
|
||||
> More information: <https://github.com/zdharma-continuum/zinit>.
|
||||
|
||||
- Show all installed plugins:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# gcrane completion
|
||||
|
||||
> Generate the autocompletion script for gcrane for the specified shell.
|
||||
> The available shells are `bash`, `fish`, `powershell`, and `zsh`.
|
||||
> The available shells are Bash, fish, PowerShell, and Zsh.
|
||||
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.
|
||||
|
||||
- Generate the autocompletion script for your shell:
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`gcrane completion {{shell_name}} --no-descriptions`
|
||||
|
||||
- Load completions in your current shell session (bash/zsh):
|
||||
- Load completions in your current shell session (Bash/Zsh):
|
||||
|
||||
`source <(gcrane completion bash/zsh)`
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
`gcrane completion fish | source`
|
||||
|
||||
- Load completions for every new session (bash):
|
||||
- Load completions for every new session (Bash):
|
||||
|
||||
`gcrane completion bash > /etc/bash_completion.d/gcrane`
|
||||
|
||||
- Load completions for every new session (zsh):
|
||||
- Load completions for every new session (Zsh):
|
||||
|
||||
`gcrane completion zsh > "${fpath[1]}/_gcrane"`
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# jobs
|
||||
|
||||
> Shell builtin for viewing information about processes spawned by the current shell.
|
||||
> Options other than `-l` and `-p` are exclusive to `bash`.
|
||||
> Options other than `-l` and `-p` are exclusive to Bash.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-jobs>.
|
||||
|
||||
- View jobs spawned by the current shell:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`pct {{[ex|exec]}} {{100}} {{command}}`
|
||||
|
||||
- Open a bash shell in a container:
|
||||
- Open a Bash shell in a container:
|
||||
|
||||
`pct {{[ex|exec]}} {{100}} bash`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# gcrane completion
|
||||
|
||||
> Generate the autocompletion script for gcrane for the specified shell.
|
||||
> The available shells are `bash`, `fish`, `powershell`, and `zsh`.
|
||||
> The available shells are Bash, fish, PowerShell, and Zsh.
|
||||
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.
|
||||
|
||||
- Generate the autocompletion script for your shell:
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`gcrane completion {{shell_name}} --no-descriptions`
|
||||
|
||||
- Load completions in your current shell session (bash/zsh):
|
||||
- Load completions in your current shell session (Bash/Zsh):
|
||||
|
||||
`source <(gcrane completion bash/zsh)`
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
`gcrane completion fish | source`
|
||||
|
||||
- Load completions for every new session (bash):
|
||||
- Load completions for every new session (Bash):
|
||||
|
||||
`gcrane completion bash > $(brew --prefix)/etc/bash_completion.d/gcrane`
|
||||
|
||||
- Load completions for every new session (zsh):
|
||||
- Load completions for every new session (Zsh):
|
||||
|
||||
`gcrane completion zsh > $(brew --prefix)/share/zsh/site-functions/_gcrane`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# gcrane completion
|
||||
|
||||
> Generate the autocompletion script for gcrane for the specified shell.
|
||||
> The available shells are `bash`, `fish`, `powershell`, and `zsh`.
|
||||
> The available shells are Bash, fish, PowerShell, and Zsh.
|
||||
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.
|
||||
|
||||
- Generate the autocompletion script for your shell:
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
`gcrane completion {{shell_name}} --no-descriptions`
|
||||
|
||||
- Load completions in your current shell session (powershell):
|
||||
- Load completions in your current shell session (PowerShell):
|
||||
|
||||
`gcrane completion powershell | Out-String | Invoke-Expression`
|
||||
|
||||
- Load completions for every new session (powershell):
|
||||
- Load completions for every new session (PowerShell):
|
||||
|
||||
`gcrane completion powershell | Out-String | Invoke-Expression`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user