mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-03 23:00:04 +00:00
chore(dotbot): cleanup dotbot plugins
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -42,9 +42,6 @@
|
|||||||
[submodule "tmux/tmux-window-name"]
|
[submodule "tmux/tmux-window-name"]
|
||||||
path = config/tmux/plugins/tmux-window-name
|
path = config/tmux/plugins/tmux-window-name
|
||||||
url = https://github.com/ofirgall/tmux-window-name.git
|
url = https://github.com/ofirgall/tmux-window-name.git
|
||||||
[submodule "dotbot-snap"]
|
|
||||||
path = tools/dotbot-snap
|
|
||||||
url = https://github.com/DrDynamic/dotbot-snap.git
|
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
[submodule "dotbot-pip"]
|
[submodule "dotbot-pip"]
|
||||||
path = tools/dotbot-pip
|
path = tools/dotbot-pip
|
||||||
|
|||||||
@@ -7,10 +7,6 @@ git submodule add --name dotbot-brew \
|
|||||||
-f https://github.com/wren/dotbot-brew.git tools/dotbot-brew
|
-f https://github.com/wren/dotbot-brew.git tools/dotbot-brew
|
||||||
git submodule add --name dotbot-include \
|
git submodule add --name dotbot-include \
|
||||||
-f https://gitlab.com/gnfzdz/dotbot-include.git tools/dotbot-include
|
-f https://gitlab.com/gnfzdz/dotbot-include.git tools/dotbot-include
|
||||||
git submodule add --name dotbot-crontab \
|
|
||||||
-f https://github.com/codekansas/dotbot-crontab.git tools/dotbot-crontab
|
|
||||||
git submodule add --name dotbot-snap \
|
|
||||||
-f https://github.com/DrDynamic/dotbot-snap.git tools/dotbot-snap
|
|
||||||
git submodule add --name dotbot-pip \
|
git submodule add --name dotbot-pip \
|
||||||
-f https://github.com/sobolevn/dotbot-pip.git tools/dotbot-pip
|
-f https://github.com/sobolevn/dotbot-pip.git tools/dotbot-pip
|
||||||
|
|
||||||
@@ -36,3 +32,5 @@ git submodule add --name tmux/tmux-yank \
|
|||||||
[ -d "config/tmux/plugins/tpm" ] && rm -rf config/tmux/plugins/tpm
|
[ -d "config/tmux/plugins/tpm" ] && rm -rf config/tmux/plugins/tpm
|
||||||
[ -d "config/tmux/plugins/tmux" ] && rm -rf config/tmux/plugins/tmux
|
[ -d "config/tmux/plugins/tmux" ] && rm -rf config/tmux/plugins/tmux
|
||||||
[ -d "config/tmux/plugins/tmux-menus" ] && rm -rf config/tmux/plugins/tmux-menus
|
[ -d "config/tmux/plugins/tmux-menus" ] && rm -rf config/tmux/plugins/tmux-menus
|
||||||
|
[ -d "tools/dotbot-crontab" ] && rm -rf tools/dotbot-crontab
|
||||||
|
[ -d "tools/dotbot-snap" ] && rm -rf tools/dotbot-snap
|
||||||
|
|||||||
10
install
10
install
@@ -18,8 +18,6 @@ git submodule update --init --recursive "${DOTBOT_DIR}"
|
|||||||
-d "${BASEDIR}" \
|
-d "${BASEDIR}" \
|
||||||
--plugin-dir=tools/dotbot-brew \
|
--plugin-dir=tools/dotbot-brew \
|
||||||
--plugin-dir=tools/dotbot-include \
|
--plugin-dir=tools/dotbot-include \
|
||||||
--plugin-dir=tools/dotbot-crontab \
|
|
||||||
--plugin-dir=tools/dotbot-snap \
|
|
||||||
--plugin-dir=tools/dotbot-pip \
|
--plugin-dir=tools/dotbot-pip \
|
||||||
-c "${CONFIG}" \
|
-c "${CONFIG}" \
|
||||||
"${@}"
|
"${@}"
|
||||||
@@ -27,14 +25,12 @@ git submodule update --init --recursive "${DOTBOT_DIR}"
|
|||||||
if [ "${DOTBOT_HOST}" != "" ]; then
|
if [ "${DOTBOT_HOST}" != "" ]; then
|
||||||
DOTBOT_HOST_CONFIG="${BASEDIR}/hosts/${DOTBOT_HOST}/${CONFIG}"
|
DOTBOT_HOST_CONFIG="${BASEDIR}/hosts/${DOTBOT_HOST}/${CONFIG}"
|
||||||
echo "-> Trying if host config can be found: ${DOTBOT_HOST_CONFIG}"
|
echo "-> Trying if host config can be found: ${DOTBOT_HOST_CONFIG}"
|
||||||
[ -r "$DOTBOT_HOST_CONFIG" ] && [ -f "$DOTBOT_HOST_CONFIG" ] \
|
[ -r "$DOTBOT_HOST_CONFIG" ] && [ -f "$DOTBOT_HOST_CONFIG" ] &&
|
||||||
&& echo "(!) Found $DOTBOT_HOST_CONFIG" \
|
echo "(!) Found $DOTBOT_HOST_CONFIG" &&
|
||||||
&& "$DOTBOT_BIN_PATH" \
|
"$DOTBOT_BIN_PATH" \
|
||||||
-d "$BASEDIR" \
|
-d "$BASEDIR" \
|
||||||
--plugin-dir=tools/dotbot-brew \
|
--plugin-dir=tools/dotbot-brew \
|
||||||
--plugin-dir=tools/dotbot-include \
|
--plugin-dir=tools/dotbot-include \
|
||||||
--plugin-dir=tools/dotbot-crontab \
|
|
||||||
--plugin-dir=tools/dotbot-snap \
|
|
||||||
--plugin-dir=tools/dotbot-pip \
|
--plugin-dir=tools/dotbot-pip \
|
||||||
-c "$DOTBOT_HOST_CONFIG" \
|
-c "$DOTBOT_HOST_CONFIG" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|||||||
Submodule tools/dotbot-snap deleted from 5722c4e5af
Reference in New Issue
Block a user