mirror of
https://github.com/jorgebucaran/fisher
synced 2024-06-28 23:01:50 +02:00
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:
parent
b857cac45c
commit
8c2c9e1a92
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue