mirror of
https://github.com/jorgebucaran/fisher
synced 2024-06-24 22:51:49 +02:00
docs: fix custom fisher_path configuration instructions (#495)
Avoid doubling `fish_function_path` and `fish_complete_path`.
This commit is contained in:
parent
a8d7fb7830
commit
60a34e50b4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue