summaryrefslogtreecommitdiff
path: root/doc/it/weechat_plugin_api.it.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-04-26 11:50:39 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-04-26 11:50:39 +0200
commit6b2c9d2cb8ae0057faffd29fc61b0ab67ae71c7f (patch)
tree44514243a47699ae64bb14dc21e243b549698ecb /doc/it/weechat_plugin_api.it.asciidoc
parent80f446a4b40cf93c431bcd6110d5386a46ddb5b2 (diff)
downloadweechat-6b2c9d2cb8ae0057faffd29fc61b0ab67ae71c7f.zip
api: add support of environment variables in function string_eval_expression() and command /eval (issue #388)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.asciidoc')
-rw-r--r--doc/it/weechat_plugin_api.it.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/it/weechat_plugin_api.it.asciidoc b/doc/it/weechat_plugin_api.it.asciidoc
index 8acd6d754..827e485e4 100644
--- a/doc/it/weechat_plugin_api.it.asciidoc
+++ b/doc/it/weechat_plugin_api.it.asciidoc
@@ -2006,6 +2006,12 @@ expanded to last):
`1.0` +
`lightblue`
+| `${env:NAME}` +
+ (_WeeChat ≥ 1.2_) |
+ Value of the environment variable `NAME` |
+ `${env:HOME}` |
+ `/home/user`
+
| `${sec.data.name}` |
Value of the secured data `name` |
`${sec.data.freenode_pass}` |