-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwelcome.sh
More file actions
25 lines (18 loc) · 940 Bytes
/
welcome.sh
File metadata and controls
25 lines (18 loc) · 940 Bytes
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
#!/bin/bash
bash homebrew_install.sh && bash preferences.sh
# Symlink dotfiles
[ -f ~/.bash_profile ] && rm -i ~/.bash_profile || echo "Creating .bash_profile"
ln -s ~/code/dotfiles/bash_profile ~/.bash_profile
[ -f ~/.git_completion.bash ] && rm -i ~/.git_completion.bash || echo "Creating .git_completion.bash"
ln -s ~/code/dotfiles/git-completion ~/.git-completion.bash
[ -f ~/.gitconfig.bash ] && rm -i ~/.gitconfig.bash || echo "Creating .gitconfig"
ln -s ~/code/dotfiles/gitconfig ~/.gitconfig
[ -f ~/.gitignore ] && rm -i ~/.gitignore || echo "Creating .gitignore"
ln -s ~/code/dotfiles/gitignore ~/.gitignore
[ -f ~/.irbrc.bash ] && rm -i ~/.irbrc.bash || echo "Creating .irbrc"
ln -s ~/code/dotfiles/irbrc ~/.irbrc
[ -f ~/.aliases.bash ] && rm -i ~/.aliases.bash || echo "Creating .aliases"
ln -s ~/code/dotfiles/aliases ~/.aliases.bash
echo "***************************"
echo "All done!"
echo "***************************"