summaryrefslogtreecommitdiffstats
path: root/init_new_user.sh
blob: 153ba6468bc3ab20c6cf7eb93881b5eac2e3ba52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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