From 7ae68ada83cc353940875d6068c5d4e42ab2f402 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Tue, 2 Jan 2018 14:58:33 -0800 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cc7bd10..1c62b89 100644 --- a/README.md +++ b/README.md @@ -77,19 +77,22 @@ Active namespace is "default". :tada: kubectx is now in Homebrew! :confetti_ball: -> Use the [Homebrew](https://brew.sh/) package manager: -> -> brew install kubectx -> -> this will also set up bash/zsh completion scripts automatically. +Use the [Homebrew](https://brew.sh/) package manager: -Running `brew install` with `--with-short-names` will install tools with names -`kctx` and `kns` to prevent prefix collision with `kubectl` name. + brew install kubectx + +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: > `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:** Since `kubectx`/`kubens` are written in Bash, they can run in shells that support POSIX standards.