mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
script: add control of autoload (enable/disable/toggle) (task #12393)
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
This commit is contained in:
@@ -5,25 +5,29 @@
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
autoload: autoload the script
|
||||
noautoload: do not autoload the script
|
||||
toggleautoload: toggle autoload
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
|
||||
Without argument, this command opens a buffer with list of scripts.
|
||||
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** descrizione: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** descrizione: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
|
||||
** tipo: intero
|
||||
|
||||
Reference in New Issue
Block a user