mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-07-19 17:49:18 +00:00
Merge pull request #44 from fiws/patch-1
add Arch AUR note to the readme
This commit is contained in:
commit
f986c148b2
@ -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).
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user