dotfiles/install_fedora.sh
2014-03-29 21:53:10 +01:00

34 lines
802 B
Bash
Executable file

#!/bin/bash
#software and shell
sudo yum install vim tmux atop zsh
chsh -s /bin/zsh
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" ~/
#install fonts
mkdir ~/.fonts
cp -rv "$DIR/fonts" ~/.fonts
fc-cache
#fetch dependencies
cd $DIR
git submodule init
git submodule update
#set solarized scheme
$DIR/gnome-terminal-colors-solarized/install.sh
#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'"