mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Automatic weechat configuration.
This commit is contained in:
12
install.sh
12
install.sh
@@ -37,6 +37,11 @@ git submodule update --init &> /dev/null \
|
|||||||
|
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
|
if commandAvailable vim; then
|
||||||
|
echo "Creating vim directories"
|
||||||
|
mkdir -p $HOME/.cache/vim/{backup,swap,undo}
|
||||||
|
fi
|
||||||
|
|
||||||
installIfAvailable vim
|
installIfAvailable vim
|
||||||
installIfAvailable zsh
|
installIfAvailable zsh
|
||||||
installIfAvailable sqlite3 sqlite
|
installIfAvailable sqlite3 sqlite
|
||||||
@@ -45,9 +50,10 @@ installIfAvailable systemctl systemd
|
|||||||
installIfAvailable pacman
|
installIfAvailable pacman
|
||||||
installIfAvailable git
|
installIfAvailable git
|
||||||
|
|
||||||
if commandAvailable vim; then
|
|
||||||
echo "Creating vim directories"
|
if commandAvailable weechat; then
|
||||||
mkdir -p $HOME/.cache/vim/{backup,swap,undo}
|
echo "Setting up weechat settings…"
|
||||||
|
./weechat.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if commandAvailable gsettings; then
|
if commandAvailable gsettings; then
|
||||||
|
|||||||
18
weechat.sh
Executable file
18
weechat.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
weechat -r "$(cat <<EOF
|
||||||
|
/set irc.look.smart_filter on
|
||||||
|
/filter add irc_smart * irc_smart_filter *
|
||||||
|
|
||||||
|
/server add freenode chat.freenode.net/6697 -ssl
|
||||||
|
/set irc.server.freenode.nicks bertptrs
|
||||||
|
/set irc.server.freenode.sasl_username bertptrs
|
||||||
|
|
||||||
|
/server add hackint irc.hackint.org/9999 -ssl
|
||||||
|
/set irc.server.hackint.ssl_fingerprint "bca257a7103b4517343eef06e99d1eaa8720d178,26e7b3a44952e34be77b31dbb928de891eb14c41,ebce621c05e9e79416598ca6b56184f1864ce961"
|
||||||
|
/set irc.server.hackint.nicks bertptrs
|
||||||
|
/set irc.server.hackint.sasl_username bertptrs
|
||||||
|
|
||||||
|
/quit
|
||||||
|
EOF
|
||||||
|
)"
|
||||||
Reference in New Issue
Block a user