fish-shell/share/completions/jobs.fish
Fabian Homborg bfb5b28d0f Let command, jobs and type take --query instead of --quiet
Now command, jobs, type, abbr, builtin, functions and set take `-q` to
query for existence, but the long option is inconsistent.

The first three use `--quiet`, the latter use `--query`. Add `--query`
to the first three, but keep `--quiet` around.

Fixes #7276.
2020-09-04 16:55:09 +02:00

9 lines
425 B
Fish

complete -c jobs -s h -l help -d 'Display help and exit'
complete -c jobs -s p -l pid -d "Show the process id of each process in the job"
complete -c jobs -s g -l group -d "Show group id of job"
complete -c jobs -s c -l command -d "Show commandname of each job"
complete -c jobs -s l -l last -d "Only show status for last job to be started"
complete -c jobs -s q -l quiet -l query -d "Check if a job exists without output"