fish: fix fish plugins complete path update

PR #1178
This commit is contained in:
Terje Larsen 2020-04-21 14:08:07 +02:00 committed by Robert Helgesson
parent b3bbc8b769
commit 9905ab5087
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 2 additions and 2 deletions

View file

@ -436,7 +436,7 @@ in {
end
if test -d $plugin_dir/completions
set fish_complete_path $fish_function_path[1] $plugin_dir/completions $fish_complete_path[2..-1]
set fish_complete_path $fish_complete_path[1] $plugin_dir/completions $fish_complete_path[2..-1]
end
# Source initialization code if it exists.

View file

@ -16,7 +16,7 @@ let
end
if test -d $plugin_dir/completions
set fish_complete_path $fish_function_path[1] $plugin_dir/completions $fish_complete_path[2..-1]
set fish_complete_path $fish_complete_path[1] $plugin_dir/completions $fish_complete_path[2..-1]
end
# Source initialization code if it exists.