summaryrefslogtreecommitdiffstats
path: root/init_new_user.sh
blob: 8a42fa63b56f262a3bf78cc60be3457625724a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 .dircolors .vim .gitconfig .gitignore; do
	ln -sf git/dotfiles/$i $i
done

mkdir -p .zsh
touch .zshrc.local