about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-01 12:31:36 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-01 12:31:36 +0000
commit3bcf15bf23215f06a7c216548ce8d1c71fc704c7 (patch)
treefcb8c7e6e96377fa983ebbdbbb1dffcf07cf529c
parent81fc1bf26c99ca62532051559ea3f68141abc026 (diff)
downloadzsh-3bcf15bf23215f06a7c216548ce8d1c71fc704c7.tar.gz
zsh-3bcf15bf23215f06a7c216548ce8d1c71fc704c7.tar.xz
zsh-3bcf15bf23215f06a7c216548ce8d1c71fc704c7.zip
new completion function for slrn (12463)
-rw-r--r--ChangeLog3
-rwxr-xr-xCompletion/User/_slrn16
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 531b64436..4f6530b8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-08-01  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* Jan Fedak: 12463: Completion/User/_slrn: new completion function
+	for slrn
+	
 	* 12462: Completion/Base/_arguments: fix for automatically
  	recognised options, don't expect an argument after each of them
 	
diff --git a/Completion/User/_slrn b/Completion/User/_slrn
new file mode 100755
index 000000000..a063e227c
--- /dev/null
+++ b/Completion/User/_slrn
@@ -0,0 +1,16 @@
+#compdef slrn
+
+_arguments \
+    '-n[do not check for new groups]' \
+    '-h[NNTP host]:NNTP host:_hosts' \
+    '-p[NNTP port]:NNTP port:_ports' \
+    '-f[name of the newsrc file to use]:the newsrc file to use:_files' \
+    '-C[use colors]' \
+    '-create[create a newsrc file by getting list of groups from server]' \
+    '-d[get new text descriptions of each group from server]' \
+    '-i[name of initialization file to use]:initialization file to use:_files' \
+    '-D-[add predefined preprocessing token]' \
+    '-k[do not process score file]' \
+    '-k0[process score file but inhibit expensive scores]' \
+    '-a[use active file for getting new news]' \
+    '-m[force XTerm mouse reporting]'