hopefully done for now
This commit is contained in:
parent
28713f1445
commit
0a864149ca
2 changed files with 21 additions and 21 deletions
39
install
39
install
|
@ -1,22 +1,25 @@
|
|||
#!/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 == "copy" ]] && {
|
||||
echo ">>> Copying .gitconfig - Please Wait! <<<"
|
||||
sudo cp ${HOME}/.config/dotfiles/copy/gitconfig /etc/gitconfig
|
||||
echo ">>> Copying .gitignore - Please Wait! <<<"
|
||||
sudo cp ${HOME}/.config/dotfiles/copy/gitignore /etc/gitignore
|
||||
echo ">>> Copying .zshenv - Please Wait! <<<"
|
||||
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 == "clone" ]] && {
|
||||
echo ">>> Cloning needed Repos - Please Wait! <<<"
|
||||
mkdir -p zsh/plugins
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/fzfasd/.git" ] || git clone https://github.com/wookayin/fzf-fasd.git ~/.config/dotfiles/zsh/plugins/fzfasd
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/syntax/.git" ] || git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.config/dotfiles/zsh/plugins/syntax
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/suggestions/.git" ] || git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.config/dotfiles/zsh/plugins/suggestions
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/completions/.git" ] || git clone https://github.com/zsh-users/zsh-completions.git ~/.config/dotfiles/zsh/plugins/completions
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/fzfmarks/.git" ] || git clone https://github.com/urbainvaes/fzf-marks.git ~/.config/dotfiles/zsh/plugins/fzfmarks
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/gitignore/.git" ] || git clone https://github.com/voronkovich/gitignore.plugin.zsh.git ~/.config/dotfiles/zsh/plugins/gitignore
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/jq/.git" ] || git clone https://github.com/reegnz/jq-zsh-plugin.git ~/.config/dotfiles/zsh/plugins/jq
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/asdf/.git" ] || git clone https://github.com/asdf-vm/asdf.git ~/.config/dotfiles/zsh/plugins/asdf
|
||||
[ -d "$HOME/.config/dotfiles/zsh/plugins/fzftab/.git" ] || 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 <<<"
|
||||
|
|
|
@ -22,9 +22,6 @@ source $ZDOTDIR/files/lando.zsh
|
|||
|
||||
# Plugins and Configs
|
||||
eval "$(fasd --init auto)"
|
||||
|
||||
#source $ZDOTDIR/plugins/abbr/zsh-abbr.zsh # need to fix
|
||||
|
||||
source $ZDOTDIR/plugins/fzfasd/fzf-fasd.plugin.zsh
|
||||
export FZF_MARKS_FILE=$HOME/.config/fzfmarks
|
||||
source $ZDOTDIR/plugins/fzfmarks/fzf-marks.plugin.zsh
|
||||
|
|
Loading…
Add table
Reference in a new issue