From 05c3b79085e34b784f2022f81d5b4a5dcf7606e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?yJan=20Christian=20Gr=C3=BCnhage?= Date: Sun, 9 Apr 2017 14:46:11 +0200 Subject: [PATCH] Added OMZ --- setup_scripts/fedora.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/setup_scripts/fedora.sh b/setup_scripts/fedora.sh index 26cd7b8..0ab0b8c 100755 --- a/setup_scripts/fedora.sh +++ b/setup_scripts/fedora.sh @@ -30,6 +30,10 @@ function install_pip_packages { sudo pip install --upgrade pip sudo pip install --upgrade borgmatic } +function install_omz { + sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" + sudo sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" +} function install_dnf_packages { export packages="vlc ffmpeg" #Multimedia Stuff export packages="$packages hexchat gajim" #Messaging @@ -59,6 +63,7 @@ function install_software { install_dnf_packages install_pip_packages install_source_packages + install_omz } function add_repos { #Negativo17 Fedora Multimedia @@ -104,10 +109,11 @@ function mkcdir { function configure { pushd cd ~/dev/config-files - cp -f .zshrc ~/.zshrc - cp -f .vimrc ~/.vimrc - source ~/.bashrc - sudo cp -f borgmatic* /etc/systemd/system/ + #Copy run command files + cp -f .*rc ~ + sudo cp -f .*rc /root/ + sudo cp -f borgmatic.* /etc/systemd/system/ + sudo cp -rf borgmatic /etc/ sudo systemctl enable borgmatic.timer sudo systemctl start borgmatic.timer popd