From 91192386a75d387b921a35ea4d0762e4690ab479 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 31 Jul 2019 10:23:16 -0300 Subject: [PATCH] Fix Oh my Zsh correct fpath Every time I open the terminal show this: ```/.oh-my-zsh/custom/exercism_completion.zsh:local:6: options: can't change type of autoloaded parameter``` You need to put the file in any `$fpath`, but `~/.oh-my-zsh/custom` is not one of them. Look this: https://github.com/beetbox/beets/issues/1731 --- shell/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/README.md b/shell/README.md index b4c1509ce..8be23f708 100644 --- a/shell/README.md +++ b/shell/README.md @@ -32,7 +32,11 @@ and then add the directory to your `$fpath` in your `.zshrc`, `.zsh_profile` or #### Oh my Zsh -If you are using the popular [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) framework to manage your zsh plugins, move the file `exercism_completion.zsh` into `~/.oh-my-zsh/custom`. +If you are using the popular [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) framework to manage your zsh plugins, follow these steps: + + mkdir -p ~/.oh-my-zsh/completions + mv ../shell/exercism_completion.zsh ~/.oh-my-zsh/completions + ### Fish