mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-12-22 00:06:32 +00:00
remove brew plugin
This commit is contained in:
parent
b79c09c5d3
commit
d8b137e382
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -2,6 +2,3 @@
|
|||||||
path = dotbot
|
path = dotbot
|
||||||
url = https://github.com/anishathalye/dotbot
|
url = https://github.com/anishathalye/dotbot
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
[submodule "plugins/dotbot-brew"]
|
|
||||||
path = plugins/dotbot-brew
|
|
||||||
url = https://github.com/d12frosted/dotbot-brew.git
|
|
||||||
|
3
files/fish/functions/n.fish
Normal file
3
files/fish/functions/n.fish
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
function n --wraps='pnpm env use --global' --description 'alias n pnpm env use --global'
|
||||||
|
pnpm env use --global $argv;
|
||||||
|
end
|
29
install
29
install
@ -12,14 +12,33 @@ cd "${BASEDIR}"
|
|||||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
||||||
|
|
||||||
|
# Own Stuff
|
||||||
platform="$(uname -s)"
|
platform="$(uname -s)"
|
||||||
if [[ $platform == "Darwin" ]]; then
|
|
||||||
# Brew
|
function uninstalled() {
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir plugins/dotbot-brew -c "${CONFIG}" "${@}"
|
if which $1 >/dev/null; then
|
||||||
else
|
return 1
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
else
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# PNPM
|
||||||
|
if uninstalled pnpm; then
|
||||||
|
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Brew
|
||||||
|
if [[ $platform == "Darwin" ]]; then
|
||||||
|
if uninstalled brew; then
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
fi
|
||||||
|
brew bundle --file ./files/Brewfile
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# NeoVim & Vim Plugins https://github.com/junegunn/vim-plug
|
# NeoVim & Vim Plugins https://github.com/junegunn/vim-plug
|
||||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
|
@ -16,9 +16,3 @@
|
|||||||
~/.config/key-mapper: files/key-mapper
|
~/.config/key-mapper: files/key-mapper
|
||||||
~/.gitignore_global: files/git/gitignore_global
|
~/.gitignore_global: files/git/gitignore_global
|
||||||
~/.tmux.conf: files/tmux.conf
|
~/.tmux.conf: files/tmux.conf
|
||||||
|
|
||||||
- shell:
|
|
||||||
- [git submodule update --init --recursive, Installing submodules]
|
|
||||||
|
|
||||||
- brewfile:
|
|
||||||
- files/Brewfile
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 0f8c541d5ca06db89337d561de3e1d1fdeb030cb
|
|
Loading…
Reference in New Issue
Block a user