-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·38 lines (26 loc) · 901 Bytes
/
setup.sh
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
#!/bin/bash
# Sets up symbolic links in the correct locations.
function SetupLink()
{
#echo ln -f "$1" "$2"
ln -f "$1" "$2"
echo $1 =\> $2
}
# Hyper terminal
SetupLink ~/git/.dotfiles/hyperterminal/.hyper.js ~/.hyper.js
# Visual Studio Code
SetupLink ~/git/.dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json
# bash
SetupLink ~/git/.dotfiles/bash/.bash_profile ~/.bash_profile
SetupLink ~/git/.dotfiles/bash/.bashrc ~/.bashrc
SetupLink ~/git/.dotfiles/bash/.powerline-shell.json ~/.powerline-shell.json
# zsh
SetupLink ~/git/.dotfiles/zsh/.zshrc ~/.zshrc
# Git
SetupLink ~/git/.dotfiles/git/.gitconfig ~/.gitconfig
SetupLink ~/git/.dotfiles/git/.gitignore ~/.gitignore
# vim
SetupLink ~/git/.dotfiles/vim/.vimrc ~/.vimrc
# powershell
ln -f ~/git/.dotfiles/powershell/profile.ps1 ~/.config/powershell/profile.ps1
source ./macos/set-defaults.sh