home · contact · privacy
Add irssi config.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 26 Sep 2015 23:44:38 +0000 (01:44 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 26 Sep 2015 23:44:38 +0000 (01:44 +0200)
dotfiles_user_server/irssi/config [new file with mode: 0644]
jessie_start_server.sh
symlink.sh

diff --git a/dotfiles_user_server/irssi/config b/dotfiles_user_server/irssi/config
new file mode 100644 (file)
index 0000000..60ce029
--- /dev/null
@@ -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 = { };
index c9ce28fca3575fa056f26b9396606708bd9604f4..c77c1749c5c6088e50f9f4bbc24661d5d260d506 100755 (executable)
@@ -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
 
index 303fa98af980ebf4f48a2f437b777c148189eb91..e2f614f726a874a685933eaf5228266aa68413d3 100755 (executable)
@@ -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