2014-03-29 20:13:06 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#software and shell
|
2014-03-29 21:11:42 +00:00
|
|
|
sudo yum install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox
|
2014-03-29 21:05:59 +00:00
|
|
|
sudo chsh -s `which zsh` $USER
|
2014-03-29 20:13:06 +00:00
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
|
|
|
#symbolic links
|
|
|
|
ln -s "$DIR/.vim" ~/.
|
|
|
|
ln -s "$DIR/.vimrc" ~/.
|
|
|
|
ln -s "$DIR/.zshrc" ~/.
|
|
|
|
ln -s "$DIR/.oh-my-zsh" ~/.
|
|
|
|
ln -s "$DIR/.gitconfig.linux.private" ~/.gitconfig
|
|
|
|
ln -s "$DIR/tools" ~/
|
|
|
|
|
2014-03-29 20:53:10 +00:00
|
|
|
#install fonts
|
|
|
|
mkdir ~/.fonts
|
|
|
|
cp -rv "$DIR/fonts" ~/.fonts
|
|
|
|
fc-cache
|
|
|
|
|
|
|
|
#fetch dependencies
|
2014-03-29 20:13:06 +00:00
|
|
|
cd $DIR
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
|
2014-03-29 20:53:10 +00:00
|
|
|
#set solarized scheme
|
2014-03-29 20:13:06 +00:00
|
|
|
$DIR/gnome-terminal-colors-solarized/install.sh
|
|
|
|
|
2014-03-29 20:53:10 +00:00
|
|
|
#setting colors to solarized should result in the default proile with the following id set
|
|
|
|
#TODO: choose the profile dynamically
|
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/font "'Inconsolata for Powerline Medium 18'"
|
2014-03-29 21:05:59 +00:00
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/login-shell true
|
2014-03-29 21:39:41 +00:00
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/audible-bell false
|
2014-03-31 12:57:24 +01:00
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/use-system-font false
|
2014-03-29 21:39:41 +00:00
|
|
|
|
|
|
|
echo
|
2014-03-29 21:05:59 +00:00
|
|
|
echo "now go ahead and restart Gnome session"
|
2014-03-29 20:53:10 +00:00
|
|
|
|