-
Notifications
You must be signed in to change notification settings - Fork 1
/
install
executable file
·25 lines (22 loc) · 971 Bytes
/
install
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
# Configure shared config dir
XDG_CONFIG_HOME="$HOME/.config"
mkdir -p "$XDG_CONFIG_HOME"
# Setup symlinks
ln -nfs "$(pwd)/zsh/.zshrc" "$HOME/.zshrc"
ln -nfs "$(pwd)/zsh/.zsh" "$HOME/.zsh"
ln -nfs "$(pwd)/.ruby-version" "$HOME/.ruby-version"
ln -nfs "$(pwd)/ruby/.irbrc" "$HOME/.irbrc"
ln -nfs "$(pwd)/vim/.vimrc" "$HOME/.vimrc"
ln -nfs "$(pwd)/vim/.gvimrc" "$HOME/.gvimrc"
ln -nfs "$(pwd)/vim/.vim" "$HOME/.vim"
ln -nfs "$(pwd)/vim/.vim" "$HOME/.config/nvim"
ln -nfs "$(pwd)/.ignore_global" "$HOME/.ignore"
mkdir -p "$XDG_CONFIG_HOME/ripgrep"
ln -nfs "$(pwd)/.ripgreprc" "$XDG_CONFIG_HOME/ripgrep/.ripgreprc"
git config --global user.email "[email protected]"
git config --global user.name "Rayta van Rijswijk"
git config --global merge.ff only
git config --global pull.ff only
for file in ./powerline-fonts/Meslo/*.otf; do
cp -f "$file" "$HOME/Library/Fonts/"
done