mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-10-31 20:44:12 +01:00
better install
This commit is contained in:
parent
73acecac9b
commit
9eee58d27f
11
install
11
install
@ -25,10 +25,6 @@ function uninstalled() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# PNPM
|
|
||||||
if uninstalled pnpm; then
|
|
||||||
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
|
||||||
fi
|
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
if [[ $platform == "Darwin" ]]; then
|
if [[ $platform == "Darwin" ]]; then
|
||||||
@ -43,6 +39,11 @@ if [[ $platform == "Darwin" ]]; then
|
|||||||
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
|
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# PNPM
|
||||||
|
if uninstalled pnpm; then
|
||||||
|
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||||
|
fi
|
||||||
|
|
||||||
# NeoVim & Vim Plugins https://github.com/junegunn/vim-plug
|
# NeoVim & Vim Plugins https://github.com/junegunn/vim-plug
|
||||||
for dir in "$HOME/.vim/autoload/plug.vim" "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/autoload/plug.vim"
|
for dir in "$HOME/.vim/autoload/plug.vim" "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/autoload/plug.vim"
|
||||||
do
|
do
|
||||||
@ -50,8 +51,6 @@ do
|
|||||||
then
|
then
|
||||||
echo "Installing Plug to: $dir"
|
echo "Installing Plug to: $dir"
|
||||||
curl -fLo "$dir" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
curl -fLo "$dir" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
else
|
|
||||||
echo "Plug already installed at: $dir"
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user