about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-01-14 17:03:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-01-14 17:03:56 +0000
commit88af97c80e38cde6483145ff767aacda7d519fab (patch)
treedc4952de8da2cbc005ef656c5da690aceb30f1d3 /Completion/Unix
parent356f432985b76ce8a0fe71fef2ec433517605477 (diff)
downloadzsh-88af97c80e38cde6483145ff767aacda7d519fab.tar.gz
zsh-88af97c80e38cde6483145ff767aacda7d519fab.tar.xz
zsh-88af97c80e38cde6483145ff767aacda7d519fab.zip
19364: completion for printenv
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/.distfiles1
-rw-r--r--Completion/Unix/Command/_printenv5
2 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index d3ba38e00..be652bdc9 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -23,4 +23,5 @@ _perforce     _python       _antiword     _screen       _renice       _apm
 _ecasound     _gpg	    _subversion   _aap          _sablotron    _nmap
 _chmod        _du           _getent
 _nice	      _rar	    _vorbis
+_printenv
 '
diff --git a/Completion/Unix/Command/_printenv b/Completion/Unix/Command/_printenv
new file mode 100644
index 000000000..ad5b49815
--- /dev/null
+++ b/Completion/Unix/Command/_printenv
@@ -0,0 +1,5 @@
+#compdef printenv
+
+local expl
+
+_wanted parameters expl 'environment variable' _parameters -g '*export*'