-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.rb
executable file
·31 lines (23 loc) · 909 Bytes
/
setup.rb
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
#! /usr/bin/env ruby
# Setup symlinks
`
ln -s ~/.dotfiles/bash_files/.bash_profile ~/.bash_profile;
ln -s ~/.dotfiles/vim_files ~/.vim;
ln -s ~/.dotfiles/vim_files/.vimrc ~/.vimrc;
ln -s ~/.dotfiles/tmux_files/.tmux.conf ~/.tmux.conf;
ln -s ~/.dotfiles/git_files/.gitconfig ~/.gitconfig;
ln -s ~/.dotfiles/git_files/.gitignore ~/.gitignore
`
# Brewfile
`brew bundle`
# System configuration
# Initial key repeat (default is 15 (225 ms))
`defaults write -g InitialKeyRepeat -int 15`
# Faster key repeat (default is 2 (30 ms))
`defaults write -g KeyRepeat -int 1`
# Disable Accent Menu when you hold down a key
`defaults write -g ApplePressAndHoldEnabled -bool false`
# Hide desktop icons
`defaults write com.apple.finder CreateDesktop false; killall Finder`
# Prevent new window animations
`defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false`