• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1complete -c my-app -l choice -r -f -a "{bash	,fish	,zsh	}"
2complete -c my-app -l unknown -r
3complete -c my-app -l other -r -f
4complete -c my-app -s p -l path -r -F
5complete -c my-app -s f -l file -r -F
6complete -c my-app -s d -l dir -r -f -a "(__fish_complete_directories)"
7complete -c my-app -s e -l exe -r -F
8complete -c my-app -l cmd-name -r -f -a "(__fish_complete_command)"
9complete -c my-app -s c -l cmd -r -f -a "(__fish_complete_command)"
10complete -c my-app -s u -l user -r -f -a "(__fish_complete_users)"
11complete -c my-app -s H -l host -r -f -a "(__fish_print_hostnames)"
12complete -c my-app -l url -r -f
13complete -c my-app -l email -r -f
14complete -c my-app -s h -l help -d 'Print help'
15