blob: ee431eebc173aee7c7b480738cb7e5a0334a3fe4 (
plain) (
blame)
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
34
35
36
37
38
39
40
41
42
43
|
#!/bin/bash
cd $HOME/dotfiles/
if ! [ -d "$HOME/.git" ]; then
echo "Linking git settings..."
stow git
fi
if ! [ -d "$HOME/.oh-my-zsh" ]; then
echo "Installing Oh My ZSH"
curl --location http://install.ohmyz.sh | sh
# Remove the default config in favor of our own later on in this script
rm $HOME/.zshrc
chsh -s `which zsh`
fi
if ! [ -d "$HOME/Code" ]; then
mkdir $HOME/Code
fi
if ! [ -e "$HOME/.vimrc" ]; then
echo "Linking vim settings..."
stow vim
fi
if ! [ -e "$HOME/.zshrc" ]; then
echo "Linking .zshrc..."
stow zsh
fi
if ! [ -e "$HOME/bin" ]; then
mkdir $HOME/bin/
cd $HOME/bin/
curl -O http://orgmode.org/worg/code/awk/ical2org.awk
fi
if ! [ -e "$HOME/.ssh" ]; then
mkdir $HOME/.ssh/
fi
if ! [ -e "$HOME/.ssh/id_rsa" ]; then
ssh-keygen -t rsa -b 4096
fi
|