#!/bin/bash [[ $1 == "copy" ]] && echo ">>> Copying .gitconfig - Please Wait! <<<" [[ $1 == "copy" ]] && sudo cp ${HOME}/.config/dotfiles/copy/gitconfig /etc/gitconfig [[ $1 == "copy" ]] && echo ">>> Copying .gitignore - Please Wait! <<<" [[ $1 == "copy" ]] && sudo cp ${HOME}/.config/dotfiles/copy/gitignore /etc/gitignore [[ $1 == "copy" ]] && echo ">>> Copying .zshenv - Please Wait! <<<" [[ $1 == "copy" ]] && cp ${HOME}/.config/dotfiles/copy/zshenv ${HOME}/.zshenv [[ $1 == "clone" ]] && echo ">>> Cloning needed Repos - Please Wait! <<<" [[ $1 == "clone" ]] && mkdir -p zsh/plugins [[ $1 == "clone" ]] && git clone https://github.com/olets/zsh-abbr.git zsh/plugins/abbr [[ $1 == "clone" ]] && git clone https://github.com/marlonrichert/zsh-autocomplete.git zsh/plugins/autocomplete [[ $1 == "clone" ]] && git clone https://github.com/larkery/zsh-histdb.git zsh/plugins/histdb [[ $1 == "clone" ]] && git clone https://github.com/m42e/zsh-histdb-fzf.git zsh/plugins/histdb-fzf [[ $1 == "" ]] && echo ">>> Use either 'copy' to copy files or 'clone' to clone needed plugins <<<"