1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

Merge pull request #476 from sim642/alias-example

core: update examples of alias add commands
This commit is contained in:
Sébastien Helleu
2015-08-08 10:27:26 +02:00
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -7815,7 +7815,7 @@ command_init ()
" /set irc.server.oftc.command \"/msg nickserv identify "
"${sec.data.oftc}\"\n"
" alias to ghost the nick \"mynick\":\n"
" /alias ghost /eval /msg -server freenode nickserv ghost mynick "
" /alias add ghost /eval /msg -server freenode nickserv ghost mynick "
"${sec.data.freenode}"),
"passphrase -delete"
" || decrypt -discard"
+1 -1
View File
@@ -526,7 +526,7 @@ alias_hook_command (struct t_alias *alias)
/*
* if alias has no custom completion, then default is to complete with
* completion template of target command, for example if alias is
* "/alias test /buffer", then str_completion will be "%%buffer"
* "/alias add test /buffer", then str_completion will be "%%buffer"
*/
str_completion = NULL;
if (!alias->completion)