Skip to content

Commit 7560b8f

Browse files
authored
Modify oh-my-zsh example (#346)
1 parent d8ff284 commit 7560b8f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,11 @@ link or copy them to an existing folder.
206206
Example with [`oh-my-zsh`](https://github.com/ohmyzsh/ohmyzsh):
207207

208208
```bash
209-
mkdir -p ~/.oh-my-zsh/completions
210-
chmod -R 755 ~/.oh-my-zsh/completions
211-
ln -s /opt/kubectx/completion/_kubectx.zsh ~/.oh-my-zsh/completions/_kubectx.zsh
212-
ln -s /opt/kubectx/completion/_kubens.zsh ~/.oh-my-zsh/completions/_kubens.zsh
209+
mkdir -p ~/.oh-my-zsh/custom/completions
210+
chmod -R 755 ~/.oh-my-zsh/custom/completions
211+
ln -s /opt/kubectx/completion/_kubectx.zsh ~/.oh-my-zsh/custom/completions/_kubectx.zsh
212+
ln -s /opt/kubectx/completion/_kubens.zsh ~/.oh-my-zsh/custom/completions/_kubens.zsh
213+
echo "fpath=($ZSH/custom/completions $fpath)" >> ~/.zshrc
213214
```
214215

215216
If completion doesn't work, add `autoload -U compinit && compinit` to your

0 commit comments

Comments
 (0)