README.md: add fish completion installation hint (#106)

This should work for most users anyway.
This commit is contained in:
Eric Bailey 2018-12-21 15:02:53 -06:00 committed by Ahmet Alp Balkan
parent dfeb7df363
commit 4a7d7cf025
No known key found for this signature in database
GPG Key ID: 5C02521D7B216AD6

View File

@ -127,8 +127,13 @@ them to any POSIX environment that has Bash installed.
export PATH=~/.kubectx:\$PATH
FOE
```
- For fish: Figure out how to install completion scripts and please document here
- For fish:
```fish
mkdir -p ~/.config/fish/completions
ln -s /opt/kubectx/completion/kubectx.fish ~/.config/fish/completions/
ln -s /opt/kubectx/completion/kubens.fish ~/.config/fish/completions/
```
Example installation steps:
``` bash