mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-07-21 10:39:03 +00:00
Document --with-short-names
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
a376b02e88
commit
8dec9cf004
@ -72,7 +72,7 @@ names.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
For macOS:
|
**For macOS:**
|
||||||
|
|
||||||
> Use [Homebrew](https://brew.sh/) package manager:
|
> Use [Homebrew](https://brew.sh/) package manager:
|
||||||
>
|
>
|
||||||
@ -80,7 +80,10 @@ For macOS:
|
|||||||
> brew install kubectx
|
> brew install kubectx
|
||||||
> this will also set up bash/zsh completion scripts automatically.
|
> this will also set up bash/zsh completion scripts automatically.
|
||||||
|
|
||||||
Other platforms:
|
Running `brew install` with `--with-short-names` will install tools with names
|
||||||
|
`kctx` and `kns` to prevent prefix collision with `kubectl` name.
|
||||||
|
|
||||||
|
**Other platforms:**
|
||||||
|
|
||||||
> Download the `kubectx` script, make it executable and add it to your PATH. You
|
> Download the `kubectx` script, make it executable and add it to your PATH. You
|
||||||
> can also install bash/zsh [completion scripts](completion/) manually.
|
> can also install bash/zsh [completion scripts](completion/) manually.
|
||||||
|
Loading…
Reference in New Issue
Block a user