summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/X/Command/_nautilus13
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c9949897..060f2bd83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-16  Clint Adams  <clint@zsh.org>
+
+	* 22349: Completion/X/Command/_nautilus: completion for
+	nautilus.
+
 2006-03-13  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: Src/Modules/zftp.c: got rid of a compiler warning
diff --git a/Completion/X/Command/_nautilus b/Completion/X/Command/_nautilus
new file mode 100644
index 000000000..c32e5dc75
--- /dev/null
+++ b/Completion/X/Command/_nautilus
@@ -0,0 +1,13 @@
+#compdef nautilus
+
+_arguments \
+  '--browser[open a browser window]' \
+  '(--check -c)'{-c,--check}'[perform a quick set of self-check tests]' \
+  '(--geometry -g)'{-g,--geometry=}':geometry:_x_geometry' \
+  '(--no-default-window -n)'{-n,--no-default-window}'[only create windows for explicitly specified URIs]' \
+  '--no-desktop[do not manage the desktop]' \
+  '(--quit -q)'{-q,--quit}'[quit Nautilus]' \
+  '--help[show a summary of options]' \
+  '--version[show version]' \
+  '*:URI: _alternative "files:file:_files" "urls:URL:_urls"'
+