|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
rm ~/.ackrc; ln -s ~/dotfiles/ackrc ~/.ackrc
|
|
|
|
rm ~/.gemrc; ln -s ~/dotfiles/gemrc ~/.gemrc
|
|
|
|
rm -rf ~/.ghc; mkdir ~/.ghc; ln -s ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
|
|
|
|
rm ~/.gitconfig; ln -s ~/dotfiles/gitconfig ~/.gitconfig
|
|
|
|
rm ~/.ruby-version; ln -s ~/dotfiles/ruby-version ~/.ruby-version
|
|
|
|
rm ~/.tmux.conf; ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
|
|
|
|
|
|
|
|
rm ~/.vimrc; ln -s ~/dotfiles/vimrc ~/.vimrc
|
|
|
|
rm ~/.nvimrc; ln -s ~/dotfiles/vimrc ~/.nvimrc
|
|
|
|
rm -rf ~/.vim; ln -s ~/dotfiles/vim ~/.vim
|
|
|
|
rm -rf ~/.nvim; ln -s ~/dotfiles/vim ~/.nvim
|
|
|
|
|
|
|
|
rm -rf ~/.config/khal; mkdir -p ~/.config/khal; ln -s ~/dotfiles/khal.conf ~/.config/khal/khal.conf
|
|
|
|
rm -rf ~/.vdirsyncer; mkdir ~/.vdirsyncer; ln -s ~/dotfiles/vdirsyncer/config ~/.vdirsyncer/config
|
|
|
|
rm ~/.zshrc; ln -s ~/dotfiles/zshrc ~/.zshrc
|
|
|
|
rm ~/.jrnl_config; ln -s ~/dotfiles/jrnl_config ~/.jrnl_config
|
|
|
|
rm ~/.gnupg/gpg-agent.conf; mkdir ~/.gnupg; ln -s ~/dotfiles/gpg-agent.conf ~/.gnupg/gpg-agent.conf
|
|
|
|
mkdir -p ~/.ssh; rm ~/.ssh/config; ln -s ~/dotfiles/ssh/config ~/.ssh/config
|
|
|
|
|
|
|
|
# Mail stuff
|
|
|
|
rm ~/.offlineimaprc; ln -s ~/dotfiles/offlineimaprc ~/.offlineimaprc
|
|
|
|
rm ~/.msmtprc; ln -s ~/dotfiles/msmtprc ~/.msmtprc
|
|
|
|
rm ~/.muttrc; ln -s ~/dotfiles/muttrc ~/.muttrc
|
|
|
|
|
|
|
|
# TODO mac only
|
|
|
|
rm ~/.slate.js; ln -s ~/dotfiles/slate.js ~/.slate.js
|
|
|
|
rm ~/Library/KeyBindings/DefaultKeyBinding.dict; cp ~/dotfiles/DefaultKeyBinding.dict ~/Library/KeyBindings/DefaultKeyBinding.dict
|
|
|
|
|
|
|
|
# TODO linux only
|
|
|
|
rm -rf ~/.i3; mkdir ~/.i3; ln -s ~/dotfiles/i3/config ~/.i3/config
|
|
|
|
rm -rf ~/.Xresources; ln -s ~/dotfiles/Xresources ~/.Xresources
|
|
|
|
rm -rf ~/.xinitrc; ln -s ~/dotfiles/xinitrc ~/.xinitrc
|
|
|
|
|
|
|
|
# Spacemacs
|
|
|
|
mv ~/.emacs.d ~/.emacs.bak
|
|
|
|
git clone --recursive http://github.com/syl20bnr/spacemacs ~/.emacs.d
|
|
|
|
rm ~/.spacemacs; ln -s ~/dotfiles/spacemacs ~/.spacemacs
|
|
|
|
ln -s ~/dotfiles/spacemacs_private/twittering-mode ~/.emacs.d/private/twittering-mode
|
|
|
|
ln -s ~/dotfiles/spacemacs_private/mu4e ~/.emacs.d/private/mu4e
|