-
Notifications
You must be signed in to change notification settings - Fork 0
/
land
executable file
·33 lines (24 loc) · 1.01 KB
/
land
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
30
31
32
33
#!/bin/sh
# @herebox dotfiles init script
# Warning: This script will rm your existing dotfiles!
# Use with caution.
# git clone [email protected]:here/.dotfiles.git
# ./.dotfiles/land
# Run this script from ~ after cloning the git repository to setup
# symlinks to ~/.dotfiles/ directory.
# zsh --version
# requires > 4.3.6
rm -rf .aliases; ln -s .dotfiles/aliases .aliases
rm -rf .gitconfig; ln -s .dotfiles/gitconfig .gitconfig
rm -rf .irssi; ln -s .dotfiles/irssi .irssi
rm -rf .oh-my-zsh; ln -s .dotfiles/oh-my-zsh .oh-my-zsh
rm -rf .solarized; ln -s .dotfiles/solarized .solarized
rm -rf .tmux.conf; ln -s .dotfiles/tmux.conf .tmux.conf
rm -rf .vim; ln -s .dotfiles/vim .vim
rm -rf .vimrc; ln -s .dotfiles/vimrc .vimrc
rm -rf .zshrc; ln -s .dotfiles/zshrc .zshrc
# rm -rf .config/sublime-text-2
# ln -s .dotfiles/sublime-text-2 .config/sublime-text-2
# TODO: use loops
# for f in gitconfig screenrc vim vimrc; do ln -s ~/.dotfiles/$f ~/.$f; done
# TODO: check for existing dotfiles and confirm/exit