File: fish

package info (click to toggle)
python-invoke 0.11.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,136 kB
  • ctags: 1,702
  • sloc: python: 5,614; makefile: 37; sh: 36
file content (9 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# Invoke (pyinvoke.org) tab-completion script to the fish shell
# Copy it to the ~/.config/fish/completions directory

function __complete_invoke
    invoke --complete -- (commandline --tokenize)
end

# --no-files: Don't complete files unless invoke gives an empty result
complete --command invoke --no-files --arguments '(__complete_invoke)'