Update README.md

This commit is contained in:
Ahmet Alp Balkan
2018-01-02 14:58:33 -08:00
committed by GitHub
parent 146b67d2b0
commit 7ae68ada83

View File

@@ -77,19 +77,22 @@ Active namespace is "default".
:tada: kubectx is now in Homebrew! :confetti_ball: :tada: kubectx is now in Homebrew! :confetti_ball:
> Use the [Homebrew](https://brew.sh/) package manager: Use the [Homebrew](https://brew.sh/) package manager:
>
> brew install kubectx
>
> this will also set up bash/zsh completion scripts automatically.
Running `brew install` with `--with-short-names` will install tools with names brew install kubectx
`kctx` and `kns` to prevent prefix collision with `kubectl` name.
This command will set up bash/zsh completion scripts automatically.
> Note: If you installed kubectx before it was accepted to Homebrew core > **Note:** Running `brew install` with `--with-short-names` will install tools with names
> `kctx` and `kns` to prevent prefix collision with `kubectl` name.
> **Note:** If you installed kubectx before it was accepted to Homebrew core
> repository, reinstall with: > repository, reinstall with:
> `brew untap ahmetb/kubectx && brew uninstall --force kubectx && brew update && brew install kubectx` > `brew untap ahmetb/kubectx && brew uninstall --force kubectx && brew update && brew install kubectx`
> **Note:** If you like to add context/namespace info to your shell prompt (`$PS1`),
> try out [kube-ps1](https://github.com/jonmosco/kube-ps1).
**Other platforms:** **Other platforms:**
Since `kubectx`/`kubens` are written in Bash, they can run in shells that support POSIX standards. Since `kubectx`/`kubens` are written in Bash, they can run in shells that support POSIX standards.