diff --git a/install.sh b/install.sh index fe0a145..9de25de 100755 --- a/install.sh +++ b/install.sh @@ -37,6 +37,11 @@ git submodule update --init &> /dev/null \ echo "done." +if commandAvailable vim; then + echo "Creating vim directories" + mkdir -p $HOME/.cache/vim/{backup,swap,undo} +fi + installIfAvailable vim installIfAvailable zsh installIfAvailable sqlite3 sqlite @@ -45,9 +50,10 @@ installIfAvailable systemctl systemd installIfAvailable pacman installIfAvailable git -if commandAvailable vim; then - echo "Creating vim directories" - mkdir -p $HOME/.cache/vim/{backup,swap,undo} + +if commandAvailable weechat; then + echo "Setting up weechat settings…" + ./weechat.sh fi if commandAvailable gsettings; then diff --git a/weechat.sh b/weechat.sh new file mode 100755 index 0000000..fbe3f3a --- /dev/null +++ b/weechat.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +weechat -r "$(cat <