2014-08-31 07:01:19 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-01-25 08:57:25 +00:00
|
|
|
echo
|
|
|
|
echo "configuring settings common among OSes"
|
2015-01-03 22:36:05 +00:00
|
|
|
sudo true
|
2015-01-25 08:57:25 +00:00
|
|
|
#zsh
|
2015-01-03 22:36:05 +00:00
|
|
|
chsh -s `which zsh` $USER
|
2014-08-31 07:01:19 +01:00
|
|
|
|
|
|
|
#submodules
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $DIR
|
|
|
|
git submodule init
|
|
|
|
git submodule update --recursive
|
|
|
|
|
|
|
|
#symbolic links
|
2014-12-25 16:17:42 +00:00
|
|
|
ln -vfs "$DIR/.vim" ~/.
|
|
|
|
ln -vfs "$DIR/.vimrc" ~/.
|
|
|
|
ln -vfs "$DIR/.tmux.conf" ~/.
|
2014-08-31 07:01:19 +01:00
|
|
|
rm -f "~/.zshrc"
|
2014-12-25 16:17:42 +00:00
|
|
|
ln -vfs "$DIR/.zshrc" ~/.
|
|
|
|
ln -vfs "$DIR/.oh-my-zsh" ~/.
|
|
|
|
ln -vfs "$DIR/.Slic3r" ~/.
|
|
|
|
ln -vfs "$DIR/.gitconfig.linux.private" ~/.gitconfig
|
|
|
|
ln -vfs "$DIR/tools" ~/
|
2014-08-31 07:01:19 +01:00
|
|
|
|
2014-10-26 09:02:50 +00:00
|
|
|
# stuff that does not like symbolic links
|
2015-01-03 14:42:17 +00:00
|
|
|
mkdir -vp ~/.config/terminator
|
2014-10-26 09:02:50 +00:00
|
|
|
rm -f ~/.config/terminator/config
|
|
|
|
ln "$DIR/.config/terminator/config" ~/.config/terminator/config
|
|
|
|
|
2014-08-31 07:01:19 +01:00
|
|
|
#install fonts
|
|
|
|
mkdir ~/.fonts
|
|
|
|
cp -rv "$DIR/fonts" ~/.fonts
|
|
|
|
fc-cache
|
|
|
|
|
2014-12-25 16:17:42 +00:00
|
|
|
#rvm
|
2015-01-03 14:42:17 +00:00
|
|
|
gpg --recv-keys BF04FF17
|
2014-12-25 16:17:42 +00:00
|
|
|
curl -sSL https://get.rvm.io | bash -s stable
|
|
|
|
source $HOME/.rvm/scripts/rvm
|
|
|
|
rvm install ruby
|
|
|
|
|
|
|
|
# talks: reveal-md
|
|
|
|
sudo ln -s /usr/bin/nodejs /usr/bin/node
|
|
|
|
sudo npm install -g reveal-md
|
2014-08-31 07:01:19 +01:00
|
|
|
|
|
|
|
echo
|
|
|
|
echo "now go ahead and restart Gnome session"
|
|
|
|
|