From 60a34e50b4b9c3ace91f277aab3e4d2adfbfd24b Mon Sep 17 00:00:00 2001 From: Tetsuya Ikenaga Date: Mon, 26 Nov 2018 10:08:50 +0900 Subject: [PATCH] docs: fix custom fisher_path configuration instructions (#495) Avoid doubling `fish_function_path` and `fish_complete_path`. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03fbb73..239994d 100644 --- a/README.md +++ b/README.md @@ -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