From 523b47ba579089de73958e3459b1d12bd4628486 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 23 Oct 2011 21:51:36 +0200 Subject: add some scripts Signed-off-by: Florian Pritz --- init_new_user.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 init_new_user.sh (limited to 'init_new_user.sh') diff --git a/init_new_user.sh b/init_new_user.sh new file mode 100644 index 0000000..153ba64 --- /dev/null +++ b/init_new_user.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +set -e + +cd $HOME +mkdir -p git + +git clone git://git.server-speed.net/~flo/git/bin.git + +cd git +git clone git://git.server-speed.net/~flo/git/dotfiles.git +cd $HOME + +for i in .zshrc .vimrc .screenrc .screenrc-2 .zprofile .htoprc; do + ln -sf git/dotfiles/$i $i +done + +mkdir -p .zsh .vim + +touch .zshenv +echo "setopt no_global_rcs" >> .zshenv -- cgit v1.2.3-24-g4f1b