aboutsummaryrefslogtreecommitdiffhomepage
path: root/init
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-12-18 07:59:26 +1000
committerGravatar axel <axel@liljencrantz.se>2005-12-18 07:59:26 +1000
commit00be44a69aa053ca54fd0ca1c6f0bda4f5630d08 (patch)
tree168a47cf3a8a995ce50b0aa000b5ab91cb25aec5 /init
parentb8ea709c1e8f0ad031bae9d5f7b340bd642a8620 (diff)
Add completions for trap and jobs
darcs-hash:20051217215926-ac50b-3078bbc64adfe19d17579a886a9e2ae7b0c594dd.gz
Diffstat (limited to 'init')
-rw-r--r--init/completions/jobs.fish6
-rw-r--r--init/completions/trap.fish4
2 files changed, 10 insertions, 0 deletions
diff --git a/init/completions/jobs.fish b/init/completions/jobs.fish
new file mode 100644
index 00000000..68c31b3e
--- /dev/null
+++ b/init/completions/jobs.fish
@@ -0,0 +1,6 @@
+
+
+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 'Show status for last be started'
diff --git a/init/completions/trap.fish b/init/completions/trap.fish
new file mode 100644
index 00000000..823830ee
--- /dev/null
+++ b/init/completions/trap.fish
@@ -0,0 +1,4 @@
+
+complete -c trap -s l -l list-signals -d 'Display names of all signals'
+complete -c trap -s p -l print -d 'Display all currently defined trap handlers'
+complete -c trap -s h -l help -d 'Display help and exit'