add Arch AUR note to the readme

This commit is contained in:
Filip Weiss 2018-04-28 00:34:00 +02:00 committed by GitHub
parent d1b69a995a
commit d61654cb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ Active namespace is "default".
## Installation
**macOS:**
### macOS
: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`),
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
them to any POSIX environment that has Bash installed.
@ -110,6 +110,9 @@ 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/kubens /usr/local/bin/kubens
```
#### Arch
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).
-----