Update 'roles/shell/files/chat'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
deepend 2023-07-06 14:50:07 +00:00
parent 955e633ca4
commit 756b7ccc00
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
#!/bin/bash
weechat-curses -r "/set irc.look.temporary_servers on; /connect irc://`whoami`@irc.tilde.chat:6697/#thunix,#meta -ssl"
if [[ -f ~/.weechat/irc.conf ]]; then
exec weechat
else
exec weechat-curses -r "/server add newnet localhost -autoconnect; /set irc.server.newnet.autojoin \"#meta,#thunix,#tildetel\"; /connect newnet"
fi