aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-01 07:59:33 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-01 07:59:33 +1000
commitbfefe7f262f23e144324cde0d75966bf9c042389 (patch)
treedeb9c0e5caece5012b470243fc50e5db6aabbcf0
parent44e8dcd33142d6e0e5e3f016eae79e4ef48b0513 (diff)
Add completions for the status builtin
darcs-hash:20060131215933-ac50b-330b6cb15406ee62006d0dcd3b9ae4cf70ee1e68.gz
-rw-r--r--init/completions/status.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/completions/status.fish b/init/completions/status.fish
new file mode 100644
index 00000000..01d7a115
--- /dev/null
+++ b/init/completions/status.fish
@@ -0,0 +1,10 @@
+
+complete -c status -l is-command-substitution -d (_ "Test if a command substitution is currently evaluated")
+complete -c status -l is-block -d (_ "Test if a code block is currently evaluated")
+complete -c status -l is-interactive -d (_ "Test if this is an interactive shell")
+complete -c status -l is-login -d (_ "Test if this is a login shell")
+complete -c status -l is-full-job-control -d (_ "Test if all new jobs are put under job control")
+complete -c status -l is-interactive-job-control -d (_ "Test if only interactive new jobs are put under job control")
+complete -c status -l is-no-job-control -d (_ "Test if new jobs are never put under job control")
+complete -c status -s j -l job-control -a "full interactive none" -d (_ "Set which jobs are out under job control")
+complete -c status -s t -l print-stack-trace -d (_ "Print a list of all function calls leading up to running the current command")