fork/fish-shell

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

Janne Pulkkinencompletions/protontricks: update options45ac6472e

master
1.9 KiB26 linesraw
1function __fish_protontricks_complete_winetricks_command
2    complete -C 'winetricks '
3end
4
5function __fish_protontricks_is_search
6    __fish_contains_opt -s s -s S search search-all
7end
8
9complete -c protontricks -f
10complete -c protontricks -n 'not __fish_protontricks_is_search' -n '__fish_is_nth_token 1' -ka '(__fish_protontricks_complete_appid)'
11complete -c protontricks -n 'not __fish_protontricks_is_search' -n 'not __fish_is_nth_token 1' -a '(__fish_protontricks_complete_winetricks_command)'
12complete -c protontricks -s h -l help -d 'Show help message and exit'
13complete -c protontricks -s v -l verbose -d 'Increase log verbosity, can be supplied twice'
14complete -c protontricks -l no-term -d 'Specify that no terminal is available to Protontricks'
15complete -c protontricks -s s -l search -d 'Search for game(s) with the given name for a single Steam installation'
16complete -c protontricks -s S -l search-all -d 'Search for game(s) with the given name among all Steam installations'
17complete -c protontricks -s l -l list -d 'List games for a single Steam installation'
18complete -c protontricks -s L -l list-all -d 'List all games for all Steam installations'
19complete -c protontricks -s c -l command -xa '(__fish_complete_subcommand)' -d 'Run a command with Wine-related environment variables set'
20complete -c protontricks -l gui -d 'Launch the Protontricks GUI'
21complete -c protontricks -l no-runtime -d 'Disable Steam Runtime'
22complete -c protontricks -l no-bwrap -d 'Disable bwrap containerization when using Steam Runtime'
23complete -c protontricks -l background-wineserver -d 'Launch a wineserver process to improve Wine startup time'
24complete -c protontricks -l no-background-wineserver -d 'Do not launch wineserver process'
25complete -c protontricks -l cwd-app -d 'Change to the Steam app directory when launching command'
26complete -c protontricks -s V -l version -d 'Show version number and exit'