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
|
||||
url = https://github.com/anishathalye/dotbot
|
||||
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,13 +12,32 @@ cd "${BASEDIR}"
|
||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||
git submodule update --init --recursive
|
||||
|
||||
platform="$(uname -s)"
|
||||
if [[ $platform == "Darwin" ]]; then
|
||||
# Brew
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir plugins/dotbot-brew -c "${CONFIG}" "${@}"
|
||||
else
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
||||
|
||||
# Own Stuff
|
||||
platform="$(uname -s)"
|
||||
|
||||
function uninstalled() {
|
||||
if which $1 >/dev/null; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
# PNPM
|
||||
if uninstalled pnpm; then
|
||||
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||
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
|
||||
curl -fLo ~/.vim/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
|
||||
~/.gitignore_global: files/git/gitignore_global
|
||||
~/.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