Merge pull request #44 from fiws/patch-1

add Arch AUR note to the readme
This commit is contained in:
Ahmet Alp Balkan 2018-04-28 16:35:13 -07:00 committed by GitHub
commit f986c148b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ Active namespace is "default".
## Installation ## Installation
**macOS:** ### macOS
:confetti_ball: Use the [Homebrew](https://brew.sh/) package manager: :confetti_ball: Use the [Homebrew](https://brew.sh/) package manager:
@ -90,7 +90,7 @@ This command will set up bash/zsh/fish completion scripts automatically.
- If you like to add context/namespace info to your shell prompt (`$PS1`), - 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). I recommend trying out [kube-ps1](https://github.com/jonmosco/kube-ps1).
**Linux:** ### Linux
Since `kubectx`/`kubens` are written in Bash, you should be able to instal Since `kubectx`/`kubens` are written in Bash, you should be able to instal
them to any POSIX environment that has Bash installed. them to any POSIX environment that has Bash installed.
@ -110,6 +110,11 @@ sudo git clone https://github.com/ahmetb/kubectx /opt/kubectx
sudo ln -s /opt/kubectx/kubectx /usr/local/bin/kubectx sudo ln -s /opt/kubectx/kubectx /usr/local/bin/kubectx
sudo ln -s /opt/kubectx/kubens /usr/local/bin/kubens sudo ln -s /opt/kubectx/kubens /usr/local/bin/kubens
``` ```
#### Arch Linux
An unofficial [AUR package](https://aur.archlinux.org/packages/kubectx) `kubectx`
is available. Install instructions can be found on the [Arch
wiki](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages).
----- -----