mirror of https://github.com/jorgebucaran/fisher
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
382 B
Fish
11 lines
382 B
Fish
set -l spinners arc star pipe ball flip mixer caret bar1 bar2 bar3
|
|
complete -xc wait -n "__fish_seen_subcommand_from --spin" -a "$spinners"
|
|
|
|
complete -xc wait -d "Run commands and wait with a spin"
|
|
complete -xc wait -n "not __fish_seen_subcommand_from --spin" -a "\t"
|
|
|
|
set -l IFS \t
|
|
wait -h | __fisher_complete | while read -l 1 2 3
|
|
complete -c wait -s "$3" -l "$2" -d "$1"
|
|
end
|