Fix config.fish example for custom paths (#433)

The `fish_function_path` must be set before sourcing the `conf.d` files because they might call functions in that path.
This commit is contained in:
Dror Levin 2018-09-05 15:32:08 +03:00 committed by Jorge Bucaran
parent b857cac45c
commit 8c2c9e1a92

View file

@ -144,12 +144,12 @@ To customize this location, add the following to your ~/.config/fish/config.fish
```fish
set -U fish_path ~/my/path
set fish_function_path $fish_path/functions $fish_function_path
set fish_complete_path $fish_path/completions $fish_complete_path
for file in $fish_path/conf.d/*.fish
builtin source $file 2> /dev/null
end
set fish_function_path $fish_path/functions $fish_function_path
set fish_complete_path $fish_path/completions $fish_complete_path
```
### How do I have fisherman copy plugin files instead of linking?