From a5e810b837903ef6d8133e9935bb80538dc6326a Mon Sep 17 00:00:00 2001 From: Nils Breunese Date: Mon, 15 Jul 2019 19:29:52 +0200 Subject: [PATCH] Add install instructions for MacPorts users (#159) --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b0f6bb..235e594 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,9 @@ Active namespace is "default". ### macOS -:confetti_ball: Use the [Homebrew](https://brew.sh/) package manager: +#### Homebrew + +:confetti_ball: If you use [Homebrew](https://brew.sh/) you can install like this: brew install kubectx @@ -94,6 +96,12 @@ This command will set up bash/zsh/fish completion scripts automatically. - If you like to add context/namespace info to your shell prompt (`$PS1`), I recommend trying out [kube-ps1](https://github.com/jonmosco/kube-ps1). +#### MacPorts + +If you use [MacPorts](https://www.macports.org) you can install like this: + + sudo port install kubectx + ### Linux Since `kubectx`/`kubens` are written in Bash, you should be able to install