diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-09 20:45:33 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-09 20:45:33 +0100 |
commit | ed6528d84f7d9755ad0497012a52f93f0cd59b31 (patch) | |
tree | 32acc6d0da6cd1313aeb0b6d00a79c1d916ef0a3 /doc/pl | |
parent | 8bb5ab6c44149f5c1b6684c10a2f2380ff314104 (diff) | |
download | weechat-ed6528d84f7d9755ad0497012a52f93f0cd59b31.zip |
doc: add a chapter about WeeChat files and directories in user's guide
Diffstat (limited to 'doc/pl')
-rw-r--r-- | doc/pl/weechat_user.pl.adoc | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index b82107254..f10f5410e 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -476,6 +476,68 @@ Możesz edytować ten plik wedle upodobań, żeby skonfigurować WeeChat, lub mo ustawić parametry za pomocą komendy `/set` z poziomu WeeChat (zobacz <<weechat_commands,Komendy WeeChat>>). +[[files_and_directories]] +=== Files and directories + +WeeChat writes configuration files and other data in directory `~/.weechat` +by default. + +The directories are: + +[width="100%",cols="1m,3",options="header"] +|=== +| Path/file | Description +| ~/.weechat/ | WeeChat home directory (can be changed, see <<running_weechat,Running WeeChat>>) +| logs/ | Log files (one file per buffer) +| python/ | Python scripts +| autoload/ | Python scripts auto-loaded on startup ^(1)^ +| perl/ | Perl scripts +| autoload/ | Perl scripts auto-loaded on startup ^(1)^ +| ruby/ | Ruby scripts +| autoload/ | Ruby scripts auto-loaded on startup ^(1)^ +| lua/ | Lua scripts +| autoload/ | Lua scripts auto-loaded on startup ^(1)^ +| tcl/ | Tcl scripts +| autoload/ | Tcl scripts auto-loaded on startup ^(1)^ +| guile/ | Guile scripts +| autoload/ | Guile scripts auto-loaded on startup ^(1)^ +| javascript/ | Javascript scripts +| autoload/ | Javascript scripts auto-loaded on startup ^(1)^ +|=== + +[NOTE] +^(1)^ This directory often contains only symbolic links to scripts in parent directory. + +The files in home directory are: + +[width="100%",cols="1m,3,6",options="header"] +|=== +| File | Description | Sensitive data +| weechat.conf | Main WeeChat configuration file | Possible (example: list of channels in a saved buffers layout) +| sec.conf | Configuration file with secured data | *Yes, highly sensitive*: this file must never be shared with anyone +| plugins.conf | Plugins configuration file | Possible, depends on plugins/scripts +| alias.conf | Configuration file for _alias_ plugin | Possible, depends on aliases +| aspell.conf | Configuration file for _aspell_ plugin | No +| charset.conf | Configuration file for _charset_ plugin | No +| exec.conf | Configuration file for _exec_ plugin | No +| irc.conf | Configuration file for _irc_ plugin | *Yes*: it can contain passwords for servers, nickserv and channels (if not stored in `sec.conf`) +| logger.conf | Configuration file for _logger_ plugin | No +| relay.conf | Configuration file for _relay_ plugin | No +| script.conf | Configuration file for _script_ plugin | No +| trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers +| xfer.conf | Configuration file for _xfer_ plugin | No +| weechat.log | WeeChat log file | No +|=== + +[IMPORTANT] +It is *not recommended* to edit configuration files by hand because WeeChat +may write them at any time (for example on <<command_weechat_quit,/quit>>) +and after any change you must run the command <<command_weechat_reload,/reload>> +(with the risk of loosing other changes that were not yet saved with +<<command_weechat_save,/save>>). + +You can use the command <<command_weechat_set,/set>>, which checks the value +and applies immediately the changes. + [[screen_layout]] === Układ ekranu |