X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=buster%2Fother_files%2Fweechat-wrapper.sh;fp=buster%2Fother_files%2Fweechat-wrapper.sh;h=b433574fdde3020a818c180197a7c7fce0b18ab0;hb=710b6e4e7337b99a79910d35ef8216d214355719;hp=0000000000000000000000000000000000000000;hpb=fa769057b7cf85a0a37968890a64c46e95ac9bf2;p=config diff --git a/buster/other_files/weechat-wrapper.sh b/buster/other_files/weechat-wrapper.sh new file mode 100755 index 0000000..b433574 --- /dev/null +++ b/buster/other_files/weechat-wrapper.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# Enforce ~/.weechatrc as sole persistent weechat config file. +rm -rf ~/.weechat/ +WEECHATCONF=`tr '\n' ';' < ~/.weechatrc` +weechat -r "$WEECHATCONF" +rm -rf ~/.weechat/