Skip to content

Commit d431fd8

Browse files
committed
doc: Use more idiomatic zsh fpath.
1 parent 890edd9 commit d431fd8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

shell/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ adding the following snippet:
2020
Load up the completion by placing the `exercism_completion.zsh` somewhere on
2121
your `$fpath` as `_exercism`. For example:
2222

23-
mkdir -p ~/.config/exercism
24-
mv ../shell/exercism_completion.zsh ~/.config/exercism/_exercism
23+
mkdir -p ~/.zsh/functions
24+
mv ../shell/exercism_completion.zsh ~/.zsh/functions/_exercism
2525

2626
and then add the directory to your `$fpath` in your `.zshrc`, `.zsh_profile` or
2727
`.profile` before running `compinit`:
2828

29-
export fpath=(~/.config/exercism $fpath)
29+
export fpath=(~/.zsh/functions $fpath)
3030
autoload -U compinit && compinit
3131

3232

@@ -39,4 +39,3 @@ If you are using the popular [oh-my-zsh](https://github.com/robbyrussell/oh-my-z
3939
Completions must go in the user defined `$fish_complete_path`. By default, this is `~/.config/fish/completions`
4040

4141
mv ../shell/exercism.fish ~/.config/fish/exercism.fish
42-

0 commit comments

Comments
 (0)