From 8c2c9e1a92d2c12ec7bf3ebbbdeb553c79f5a226 Mon Sep 17 00:00:00 2001 From: Dror Levin Date: Wed, 5 Sep 2018 15:32:08 +0300 Subject: [PATCH] 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. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 95751ad..864da60 100644 --- a/README.md +++ b/README.md @@ -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?