22 lines
1.8 KiB
Bash
Executable file
22 lines
1.8 KiB
Bash
Executable file
#!/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 ~/.config/dotfiles/zsh/plugins/abbr
|
|
[[ $1 == "clone" ]] && git clone https://github.com/wookayin/fzf-fasd.git ~/.config/dotfiles/zsh/plugins/fzfasd
|
|
[[ $1 == "clone" ]] && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.config/dotfiles/zsh/plugins/syntax
|
|
[[ $1 == "clone" ]] && git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.config/dotfiles/zsh/plugins/suggestions
|
|
[[ $1 == "clone" ]] && git clone https://github.com/zsh-users/zsh-completions.git ~/.config/dotfiles/zsh/plugins/completions
|
|
[[ $1 == "clone" ]] && git clone https://github.com/urbainvaes/fzf-marks.git ~/.config/dotfiles/zsh/plugins/fzfmarks
|
|
[[ $1 == "clone" ]] && git clone https://github.com/voronkovich/gitignore.plugin.zsh.git ~/.config/dotfiles/zsh/plugins/gitignore
|
|
[[ $1 == "clone" ]] && git clone https://github.com/reegnz/jq-zsh-plugin.git ~/.config/dotfiles/zsh/plugins/jq
|
|
[[ $1 == "clone" ]] && git clone https://github.com/asdf-vm/asdf.git ~/.config/dotfiles/zsh/plugins/asdf
|
|
[[ $1 == "clone" ]] && git clone https://github.com/Aloxaf/fzf-tab.git ~/.config/dotfiles/zsh/plugins/fzftab
|
|
|
|
[[ $1 == "" ]] && echo ">>> Use either 'copy' to copy files or 'clone' to clone needed plugins <<<"
|