fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
e9bf8b9a4
master
1# Completions for the 'asciinema' command 2 3# general options 4complete -c asciinema -s h -l help -d"Show this help message and exit" 5complete -c asciinema -n __fish_no_arguments -l version -d"Show program's version number and exit" 6 7# rec 8complete -c asciinema -n __fish_use_subcommand -xa rec -d"Record terminal session" 9complete -c asciinema -n"__fish_seen_subcommand_from rec" -l stdin -d"Enable stdin recording" 10complete -c asciinema -n"__fish_seen_subcommand_from rec" -l append -d"Append to existing recording" 11complete -c asciinema -n"__fish_seen_subcommand_from rec" -l raw -d"Save only raw stdout output" 12complete -c asciinema -n"__fish_seen_subcommand_from rec" -l overwrite -d"Overwrite the file if it already exists" 13complete -c asciinema -n"__fish_seen_subcommand_from rec" -s c -l command -d"Command to record" -x 14complete -c asciinema -n"__fish_seen_subcommand_from rec" -s e -l env -d"List of environment variables to capture" -x 15complete -c asciinema -n"__fish_seen_subcommand_from rec" -s t -l title -d"Title of the asciicast" -x 16complete -c asciinema -n"__fish_seen_subcommand_from rec" -s i -l idle-time-limit -d"Limit recorded idle time to given number of seconds" -x 17complete -c asciinema -n"__fish_seen_subcommand_from rec" -l cols -d"Override terminal columns for recorded process" -x 18complete -c asciinema -n"__fish_seen_subcommand_from rec" -l rows -d"Override terminal rows for recorded process" -x 19complete -c asciinema -n"__fish_seen_subcommand_from rec" -s y -l yes -d"Answer \"yes\" to all prompts" 20complete -c asciinema -n"__fish_seen_subcommand_from rec" -s q -l quiet -d"Be quiet, suppress all notices/warnings" 21 22# play 23complete -c asciinema -n __fish_use_subcommand -xa play -d"Replay terminal session" 24complete -c asciinema -n"__fish_seen_subcommand_from play" -s i -l idle-time-limit -d"Limit idle time during playback to given number of seconds" -x 25complete -c asciinema -n"__fish_seen_subcommand_from play" -s s -l speed -d"Playback speedup" -x 26 27# cat 28complete -c asciinema -n __fish_use_subcommand -xa cat -d"Print full output of terminal session" 29 30# upload 31complete -c asciinema -n __fish_use_subcommand -xa upload -d"Upload locally saved terminal session to asciinema.org" 32 33# auth 34complete -c asciinema -n __fish_use_subcommand -xa auth -d"Manage recordings on asciinema.org account"