From b4552ecf7f9690a3a42794e41b36873d4b245f39 Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Fri, 25 Jul 2014 19:44:13 +0200 Subject: [PATCH] fedora installer: patch for existing zshrc file, moved fetching dependencies earlier in the script --- install_fedora.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install_fedora.sh b/install_fedora.sh index 571ed33b..7966f8a7 100755 --- a/install_fedora.sh +++ b/install_fedora.sh @@ -3,6 +3,12 @@ #software and shell sudo yum install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox sudo chsh -s `which zsh` $USER +#fetch dependencies +cd $DIR +git submodule init +git submodule update --recursive +#rvm + curl -sSL https://get.rvm.io | bash -s stable rvm install ruby @@ -12,6 +18,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ln -s "$DIR/.vim" ~/. ln -s "$DIR/.vimrc" ~/. ln -s "$DIR/.tmux.conf" ~/. +rm -f "$DIR/.zshrc" ln -s "$DIR/.zshrc" ~/. ln -s "$DIR/.oh-my-zsh" ~/. ln -s "$DIR/.gitconfig.linux.private" ~/.gitconfig @@ -22,10 +29,6 @@ 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