Files
ServerSync/lib/invoke/completion/fish.completion
Kevin a5d75e6bac Init
im going to bed -=-
2026-02-12 02:28:23 +02:00

11 lines
382 B
Plaintext

# Invoke tab-completion script for the fish shell
# Copy it to the ~/.config/fish/completions directory
function __complete_{binary}
{binary} --complete -- (commandline --tokenize)
end
# --no-files: Don't complete files unless invoke gives an empty result
# TODO: find a way to honor all binary_names
complete --command {binary} --no-files --arguments '(__complete_{binary})'