Add missing --command to complete --erase

pull/662/head
Jorge Bucaran 3 years ago
parent b9f222c52e
commit 3e5b263785
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30

@ -129,7 +129,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
command rm -rf $$plugin_files_var
functions --erase (string replace --filter --regex -- '.+/functions/([^/]+)\.fish$' '$1' $$plugin_files_var)
for name in (string replace --filter --regex -- '.+/completions/([^/]+)\.fish$' '$1' $$plugin_files_var)
complete --erase $name
complete --erase --command $name
end
set --erase $plugin_files_var
end

Loading…
Cancel
Save