blob: a2333be749d83429775e05d113a4c07710d6e645 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/bash
set -e
cd $HOME
mkdir -p git
clone_repo() {
repo_url=$1
dest_dir=$2
if [[ -e $dest_dir ]]; then
return 0
fi
git clone "$repo_url" "$dest_dir"
}
clone_repo git://git.server-speed.net/users/flo/bin bin
clone_repo git://git.server-speed.net/users/flo/dotfiles git/dotfiles
mkdir -p .config/htop
for i in .zshrc .vimrc .screenrc .screenrc-2 .zprofile .config/htop/htoprc .dircolors .vim .gitconfig .gitignore .bashrc .zshenv; do
ln -sf git/dotfiles/$i $i
done
mkdir -p .zsh
touch .zshrc.local
|