Clean up and fix save path

This commit is contained in:
Josh Sherman 2018-04-21 14:38:03 -05:00
parent e77538294d
commit eb531ba7c7
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -46,7 +46,7 @@ mkdir -p \
"$HOME/.vim/pack/plugins/start"
$GITCLONE https://github.com/junegunn/fzf.git "$DOTFZF"
"${DOTFZF}/install" --key-bindings --completion --no-update-rc
"$DOTFZF/install" --key-bindings --completion --no-update-rc
ZSHPLUGS=(
"zsh-completions"
@ -56,7 +56,7 @@ ZSHPLUGS=(
for INDEX in ${!ZSHPLUGS[*]}; do
ZSHPLUG="${ZSHPLUGS[$INDEX]}"
$GITCLONE "https://github.com/zsh-users/${ZSHPLUG}.git" "$DOTLOCAL/$ZSHPLUG"
$GITCLONE "https://github.com/zsh-users/$ZSHPLUG.git" "$DOTLOCAL/$ZSHPLUG"
done
VIMPLUGS=(
@ -71,10 +71,10 @@ for INDEX in ${!VIMPLUGS[*]}; do
VIMPLUG="${VIMPLUGS[$INDEX]}"
PLUGDIR=$(echo "$VIMPLUG" | cut -d '/' -f2)
$GITCLONE "https://github.com/${VIMPLUG}.git" "$HOME/.vim/pack/plugins/start/$PLUGDIR"
$GITCLONE "https://github.com/$VIMPLUG.git" "$HOME/.vim/pack/plugins/start/$PLUGDIR"
done
wget https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim "${HOME}/.vim/colors/"
wget https://raw.githubusercontent.com/altercation/vim-colors-solarized/master/colors/solarized.vim -P "$HOME/.vim/colors/"
cd "$HOME" || exit
rm -f "${HOME}/.zcompdump*"