fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian HomborgReformat2e55e3454

master
796 B14 linesraw
1# Completions for gresource (a part of GLib)
2
3# Global options
4complete -f -c gresource -l section -d "Select which section to operate on"
5
6# Commands
7complete -f -c gresource -n __fish_use_subcommand -a list -d "List resource sections"
8complete -f -c gresource -n __fish_use_subcommand -a details -d "List resources with details"
9complete -f -c gresource -n __fish_use_subcommand -a extract -d "Extract a resource"
10complete -f -c gresource -n "__fish_not_contain_opt section && __fish_use_subcommand" -a sections -d "List resource sections"
11complete -f -c gresource -n "__fish_not_contain_opt section && __fish_use_subcommand" -a help -d "Prints help"
12
13# Arguments of help command
14complete -f -c gresource -n "__fish_seen_subcommand_from help" -a "list details extract sections help" -d Command