docs: fix custom fisher_path configuration instructions (#495)

Avoid doubling `fish_function_path` and `fish_complete_path`.
This commit is contained in:
Tetsuya Ikenaga 2018-11-26 10:08:50 +09:00 committed by Jorge Bucaran
parent a8d7fb7830
commit 60a34e50b4

View file

@ -52,8 +52,8 @@ Use the `$fisher_path` environment variable to change the location where functio
```fish
set -g fisher_path /path/to/another/location
set fish_function_path $fish_function_path[1] $fisher_path/functions $fish_function_path
set fish_complete_path $fish_complete_path[1] $fisher_path/completions $fish_complete_path
set fish_function_path $fish_function_path[1] $fisher_path/functions $fish_function_path[2..-1]
set fish_complete_path $fish_complete_path[1] $fisher_path/completions $fish_complete_path[2..-1]
for file in $fisher_path/conf.d/*.fish
builtin source $file 2> /dev/null