From 4a7d7cf025044895515c7770207b29eb0deac926 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 21 Dec 2018 15:02:53 -0600 Subject: [PATCH] README.md: add fish completion installation hint (#106) This should work for most users anyway. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e243827..6117c97 100644 --- a/README.md +++ b/README.md @@ -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