about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:10:45 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:10:45 +0000
commitbe62f4cffcd9a255133a79b24a6f1b85df248b79 (patch)
treee97f1443ce3bb11c47419c8da0f131e41ecdc0b4
parentdc24e34a08cb25e892dbd3fdd5224607b8d39284 (diff)
downloadzsh-be62f4cffcd9a255133a79b24a6f1b85df248b79.tar.gz
zsh-be62f4cffcd9a255133a79b24a6f1b85df248b79.tar.xz
zsh-be62f4cffcd9a255133a79b24a6f1b85df248b79.zip
moved from Completion/X/_x_locale
-rw-r--r--Completion/X/Type/_x_locale9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/X/Type/_x_locale b/Completion/X/Type/_x_locale
new file mode 100644
index 000000000..2321b1a5b
--- /dev/null
+++ b/Completion/X/Type/_x_locale
@@ -0,0 +1,9 @@
+#autoload
+
+local x="$argv[(I)-X]"
+
+if (( x )); then
+  _message -r "$argv[x + 1]"
+else
+  _message 'locale'
+fi