Added OMZ

This commit is contained in:
Jan Christian Grünhage 2017-04-09 14:46:11 +02:00
parent ad8ba5e4d8
commit 05c3b79085
Signed by: jcgruenhage
GPG Key ID: 321A67D9EE8BC3E1
1 changed files with 10 additions and 4 deletions

View File

@ -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