From: Christian Heller Date: Sat, 26 Sep 2015 23:44:38 +0000 (+0200) Subject: Add irssi config. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=6a36e378531bf403711b2007fcc02970edff9a37;p=config Add irssi config. --- diff --git a/dotfiles_user_server/irssi/config b/dotfiles_user_server/irssi/config new file mode 100644 index 0000000..60ce029 --- /dev/null +++ b/dotfiles_user_server/irssi/config @@ -0,0 +1,29 @@ +settings = { + core = { + real_name = "Christian Heller"; + user_name = "plom"; + nick = "plomlompom"; + }; + "fe-common/core" = { autolog = "yes"; }; + "fe-text" = { actlist_sort = "refnum"; }; +}; +servers = ( + { + address = "irc.freenode.net"; + chatnet = "freenode"; + autoconnect = "yes"; + } +); +chatnets = { + freenode = { type = "IRC"; }; +}; +channels = ( + { name = "#nodrama.de"; chatnet = "freenode"; autojoin = "yes"; }, + { name = "#twitter.de"; chatnet = "freenode"; autojoin = "yes"; }, + { + name = "#freie-gesellschaft"; + chatnet = "freenode"; + autojoin = "yes"; + }, +); +logs = { }; diff --git a/jessie_start_server.sh b/jessie_start_server.sh index c9ce28f..c77c174 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -68,7 +68,7 @@ config/symlink.sh useradd -m -s /bin/bash plom rm -rf /home/plom/config su - plom -c 'git clone http://github.com/plomlompom/config /home/plom/config' -su plom -c '/home/plom/config/symlink.sh' +su plom -c '/home/plom/config/symlink.sh server' # Set up editor. apt-get -y install vim @@ -78,6 +78,9 @@ su plom -c 'mkdir -p /home/plom/.vimbackups/' # Set up openssh-server. apt-get -y install openssh-server +# Set up irssi. +apt-get -y install irssi + # Clean up. rm jessie_start_server.sh diff --git a/symlink.sh b/symlink.sh index 303fa98..e2f614f 100755 --- a/symlink.sh +++ b/symlink.sh @@ -4,6 +4,7 @@ set -x dir_user_minimal=~/config/dotfiles_user_minimal dir_user_thinkpad=~/config/dotfiles_user_thinkpad +dir_user_server=~/config/dotfiles_user_server dir_root=~/config/dotfiles_root homedir=`echo ~` find ~ -lname $homedir'/config/*' -delete @@ -14,6 +15,10 @@ if [ "$1" = "thinkpad" ]; then for file in `ls $dir_user_thinkpad`; do ln -fs $dir_user_thinkpad/$file ~/.$file done +elif [ "$1" = "server" ]; then + for file in `ls $dir_user_server`; do + ln -fs $dir_user_server/$file ~/.$file + done fi if [ "$(id -u)" -eq "0" ]; then for file in `ls $dir_root`; do