about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-14 18:09:52 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-14 18:09:52 +0000
commit1f60fc0fd78dd8a302065a30c11c9027ec7accf8 (patch)
treed2f04eff5cf4f000f9b456ffdce5a9864f9283bd /Completion
parenta05a843583a9e8502564554061189267e639cde7 (diff)
downloadzsh-1f60fc0fd78dd8a302065a30c11c9027ec7accf8.tar.gz
zsh-1f60fc0fd78dd8a302065a30c11c9027ec7accf8.tar.xz
zsh-1f60fc0fd78dd8a302065a30c11c9027ec7accf8.zip
Initial revision
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_killall6
-rw-r--r--Completion/User/_pack6
-rw-r--r--Completion/User/_unpack6
-rw-r--r--Completion/User/_whereis6
4 files changed, 24 insertions, 0 deletions
diff --git a/Completion/User/_killall b/Completion/User/_killall
new file mode 100644
index 000000000..5df1acbb9
--- /dev/null
+++ b/Completion/User/_killall
@@ -0,0 +1,6 @@
+#compdef killall
+
+if compset -P 1 -; then
+  _description expl signal
+  compadd "$expl[@]" $signals[1,-3]
+fi
diff --git a/Completion/User/_pack b/Completion/User/_pack
new file mode 100644
index 000000000..a15cfa709
--- /dev/null
+++ b/Completion/User/_pack
@@ -0,0 +1,6 @@
+#compdef pack 
+
+local expl
+
+_description expl 'file to compress'
+_files "$expl[@]" -g '*~*.z'
diff --git a/Completion/User/_unpack b/Completion/User/_unpack
new file mode 100644
index 000000000..fb8867560
--- /dev/null
+++ b/Completion/User/_unpack
@@ -0,0 +1,6 @@
+#compdef unpack pcat
+
+local expl
+
+_description expl 'compressed file'
+_files "$expl[@]" -g '*.z'
diff --git a/Completion/User/_whereis b/Completion/User/_whereis
new file mode 100644
index 000000000..42fc30969
--- /dev/null
+++ b/Completion/User/_whereis
@@ -0,0 +1,6 @@
+#compdef whereis
+
+local expl
+
+_description expl command
+compgen "$expl[@]" -m