aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/top.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
commit343cafef346543282b5b6e825bc8f9dd10028a48 (patch)
tree1bcf221ecb525c7aeadc8325e7b780d3656e544b /share/completions/top.fish
parent95a01f3c8f15034433ffce368d8f2d13d925139c (diff)
Redo installation file structure, move lots of things to $PREFIX/share/fish
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
Diffstat (limited to 'share/completions/top.fish')
-rw-r--r--share/completions/top.fish14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/completions/top.fish b/share/completions/top.fish
new file mode 100644
index 00000000..b247dafe
--- /dev/null
+++ b/share/completions/top.fish
@@ -0,0 +1,14 @@
+# Completions for top
+complete -c top -s b -d (_ "Batch mode")
+complete -c top -s c -d (_ "Toggle command line/program name")
+complete -c top -s d -d (_ "Update interval") -x
+complete -c top -s h -d (_ "Display help and exit")
+complete -c top -s i -d (_ "Toggle idle processes")
+complete -c top -s n -d (_ "Maximium iterations") -x
+complete -c top -s u -d (_ "Monitor effective UID") -x -a "(__fish_complete_users)"
+complete -c top -s U -d (_ "Monitor user") -x -a "(__fish_complete_users)"
+complete -c top -s p -d (_ "Monitor PID") -x -a "(__fish_complete_pids)"
+complete -c top -s s -d (_ "Secure mode")
+complete -c top -s S -d (_ "Cumulative mode")
+complete -c top -s v -d (_ "Display version and exit")
+