From 1faf64ad3dada311bb02ca3d80a24ae0282ce687 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 3 Jan 2017 03:31:13 -0500 Subject: [PATCH] weechat: replace weechat injection with simple reminder --- weechat/install | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/weechat/install b/weechat/install index a1f3787c..02a7d445 100755 --- a/weechat/install +++ b/weechat/install @@ -13,21 +13,5 @@ case $OSTYPE in fi esac -# If this exists, it's already configured -[[ -f ~/.weechat/sec.conf ]] && exit - -if [[ -f ~/.private/config/irc.conf ]]; then - # ...otherwise, configure it! - CWD=$(cd $(dirname $0) && pwd -P) - weechat -r "/set plugins.var.fifo.fifo on'" & - PID=$? - - while ! pgrep weechat >/dev/null; do sleep 1; done - wee "$HOME/.private/config/irc.conf" - wee "$CWD/settings.txt" - wee "$CWD/servers.txt" - kill $PID -else - >&2 echo "Couldn't find secrets!" - exit 1 -fi +# NOTE: init.sh needs to be run separately, afterward +echo "Don't forget to run weechat/scripts/init.sh while weechat is open"