Setup logger config & alias
This commit is contained in:
parent
69f69e396f
commit
c640643fc3
15
README.md
15
README.md
@ -24,7 +24,7 @@
|
||||
### Setup
|
||||
###### WeeChat
|
||||
```shell
|
||||
weechat -P "alias,buflist,charset,exec,fifo,fset,irc,perl,python,relay,script,trigger" -r "/set weechat.plugin.autoload alias,buflist,charset,exec,fifo,fset,irc,perl,python,relay,script,trigger;/save;/quit"
|
||||
weechat -P "alias,buflist,charset,exec,fifo,fset,irc,logger,perl,python,relay,script,trigger" -r "/set weechat.plugin.autoload alias,buflist,charset,exec,fifo,fset,irc,logger,perl,python,relay,script,trigger;/save;/quit"
|
||||
rm $HOME/.weechat/weechat.log && chmod 700 $HOME/.weechat && mkdir $HOME/.weechat/ssl
|
||||
git clone --depth 1 https://github.com/acidvegas/weechat.git $HOME/weechat
|
||||
mv $HOM E/weechat/alias.conf $HOME/.weechat/alias.conf && mv $HOME/weechat/scripts/perl/*.pl $HOME/.weechat/perl/autoload/ && mv $HOME/weechat/scripts/python/*.py $HOME/.weechat/python/autoload/
|
||||
@ -129,12 +129,21 @@ systemctl --user enable weechat-headless
|
||||
/set irc.look.smart_filter off
|
||||
/set irc.look.temporary_servers on
|
||||
/set irc.network.ban_mask_default "*!*@$host"
|
||||
/set logger.file.auto_log off
|
||||
/set sec.crypt.hash_algo sha512
|
||||
/set weechat.look.confirm_quit on
|
||||
/set weechat.look.highlight "acidvegas,supernets,super nets"
|
||||
/set weechat.look.mouse on
|
||||
/set weechat.plugin.autoload "alias,buflist,charset,exec,fifo,fset,irc,perl,python,relay,script,trigger"
|
||||
/set weechat.plugin.autoload "alias,buflist,charset,exec,fifo,fset,irc,logger,perl,python,relay,script,trigger"
|
||||
/set logger.file.color_lines on
|
||||
/set logger.file.auto_log off
|
||||
/set logger.file.rotation_compression_type gzip
|
||||
/set logger.file.rotation_compression_level 80
|
||||
/set logger.file.rotation_size_max "1g"
|
||||
/set logger.file.time_format "%Y-%m-%d %H:%M"
|
||||
/set logger.level.irc 0
|
||||
/set logger.level.core.weechat 0
|
||||
/set logger.mask.irc "$server/$channel.log"
|
||||
|
||||
```
|
||||
|
||||
###### IRC
|
||||
|
@ -94,6 +94,8 @@ colors = "say 1,00001,01011,02021,03031,04041,05051,06061,07071,080
|
||||
exempt = "mode +eI *!*@*.acid.vegas *!*@*.acid.vegas"
|
||||
gh = "say https://github.com/$*"
|
||||
harchats = "set irc.server.$server.anti_flood_prio_high 0 ; /set irc.server.$server.anti_flood_prio_low 0"
|
||||
log = "/set logger.level.irc.$server.$channel 9"
|
||||
dontlog = "/set logger.level.irc.$server.$channel 0"
|
||||
msgbuf = "command -buffer $1 * /input send $2-"
|
||||
ns_ident = "msg NickServ IDENTIFY ${sec.data.${server}}"
|
||||
ns_setup = "msg NickServ ACCESS ADD *@big.dick.acid.vegas; msg NickServ CERT ADD; msg NickServ SET AUTOOP ON; msg NickServ SET HIDE EMAIL ON; msg NickServ SET HIDE STATUS ON; msg NickServ SET HIDE USERMASK ON; msg NickServ SET HIDE QUIT ON; msg NickServ SET KEEPMODES ON; msg NickServ SET KILL QUICK; msg NickServ SET PRIVATE ON; msg NickServ SET SECURE ON"
|
||||
|
Loading…
Reference in New Issue
Block a user