updated stuff

This commit is contained in:
Nikolas Weger 2020-09-04 18:56:57 +02:00
parent a7faa382c9
commit 9be241829f
2 changed files with 14 additions and 6 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
zsh/local zsh/local
zsh/plugins

19
install
View file

@ -1,9 +1,16 @@
#!/bin/bash #!/bin/bash
echo ">>> Copying Gitconfig - Please Wait! <<<" [[ $1 == "copy" ]] && echo ">>> Copying .gitconfig - Please Wait! <<<"
sudo cp ${HOME}/.config/dotfiles/copy/gitconfig /etc/gitconfig [[ $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
echo ">>> Copying Gitignore - Please Wait! <<<" [[ $1 == "clone" ]] && echo ">>> Cloning needed Repos - Please Wait! <<<"
sudo cp ${HOME}/.config/dotfiles/copy/gitignore /etc/gitignore [[ $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
echo ">>> Copying ZSH Environment File - Please Wait! <<<" [[ $1 == "" ]] && echo ">>> Use either 'copy' to copy files or 'clone' to clone needed plugins <<<"
cp ${HOME}/.config/dotfiles/copy/zshenv ${HOME}/.zshenv