Remove zsh plugins
This commit is contained in:
parent
00a427eb26
commit
b74f8ffd93
1 changed files with 0 additions and 25 deletions
|
@ -114,31 +114,6 @@ install_dotfiles () {
|
|||
done
|
||||
}
|
||||
|
||||
install_zsh_plugins () {
|
||||
info "installing bash plugins"
|
||||
|
||||
local PLUGINS=(
|
||||
"zsh-users/zsh-syntax-highlighting"
|
||||
"zsh-users/zsh-completions"
|
||||
)
|
||||
local BASE_DIR="$DOTFILES_ROOT/zsh/zsh.symlink"
|
||||
local GIT_HOST="git@github.com"
|
||||
|
||||
rm -fr "$BASE_DIR"
|
||||
success "remove existing plugins"
|
||||
|
||||
mkdir -p "$BASE_DIR"
|
||||
|
||||
for i in "${PLUGINS[@]}"
|
||||
do
|
||||
info "installing $i"
|
||||
local BASE_NAME="$(basename $i)"
|
||||
git clone "$GIT_HOST:$i" "$BASE_DIR/$BASE_NAME" &> /dev/null
|
||||
success "installed $i"
|
||||
done
|
||||
}
|
||||
|
||||
install_zsh_plugins
|
||||
install_dotfiles
|
||||
|
||||
echo ' All installed!'
|
||||
|
|
Loading…
Add table
Reference in a new issue