summaryrefslogtreecommitdiffstats
path: root/Completion/Unix
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:43:10 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:43:10 +0000
commit79fdcdf332aa722372b459eb3d7ffb5981de8d5a (patch)
tree920274d2908c95097dbc1cebd298042eee456b85 /Completion/Unix
parentmoved to Completion/Unix/Type/_urls (diff)
downloadzsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.tar
zsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.tar.gz
zsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.tar.bz2
zsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.tar.lz
zsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.tar.xz
zsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.tar.zst
zsh-79fdcdf332aa722372b459eb3d7ffb5981de8d5a.zip
moved from Completion/User/_urls
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_urls187
1 files changed, 187 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls
new file mode 100644
index 000000000..7567f362c
--- /dev/null
+++ b/Completion/Unix/Type/_urls
@@ -0,0 +1,187 @@
+#compdef curl galeon
+
+# Usage: _urls [-f]
+# Options:
+# -f : complete files first.
+#
+# Configuration styles used:
+#
+# urls
+# The path to a directory containing a URL database, such as:
+#
+# % cd ~/.zsh/urls
+# % find . -ls
+# ... drwxr-xr-x ... 512 Sep 3 02:46 .
+# ... drwxr-xr-x ... 512 Sep 3 02:48 ./http
+# ... drwxr-xr-x ... 512 Sep 3 02:52 ./http/www.zsh.org
+# ... drwxr-xr-x ... 512 Sep 3 03:01 ./http/www.zsh.org/mla
+# ... drwxr-xr-x ... 512 Sep 3 03:01 ./http/www.zsh.org/mla/workers
+# ... drwxr-xr-x ... 512 Sep 3 03:01 ./http/www.zsh.org/mla/workers/1999
+# ... -rw-r--r-- ... 0 Sep 3 03:01 ./http/www.zsh.org/mla/workers/1999/index.html
+# ... drwxr-xr-x ... 512 Sep 3 02:48 ./http/sunsite.dk
+# ... drwxr-xr-x ... 512 Sep 3 02:48 ./http/sunsite.dk/zsh
+# ... drwxr-xr-x ... 512 Sep 3 02:47 ./bookmark
+# ... drwxr-xr-x ... 512 Sep 3 02:48 ./bookmark/zsh
+# ... -rw-r--r-- ... 27 Sep 3 02:47 ./bookmark/zsh/home
+# ... -rw-r--r-- ... 20 Sep 3 02:48 ./bookmark/zsh/meta
+# % cat bookmark/zsh/home
+# http://sunsite.dk/zsh/
+# % cat bookmark/zsh/meta
+# http://www.zsh.org/
+#
+# Alternatively it may contain the path to a normal file and the URLs will