Removed obsidian plugins and added DEBUG for warp disconnect

This commit is contained in:
Brian Zalewski 2024-03-23 05:40:35 +00:00
parent 1eae860563
commit 8e07080453
3 changed files with 10 additions and 11 deletions

View file

@ -1889,8 +1889,6 @@ softwarePlugins:
- https://github.com/aleksey-rezvov/obsidian-local-images
- https://github.com/alexandru-dinu/obsidian-sortable
- https://github.com/AlexW00/obsidian-note-linker
- https://github.com/Alt-er/obsidian-sync-share
- https://github.com/andrewbrereton/obsidian-to-ical-plugin
- https://github.com/argenos/nldates-obsidian
- https://github.com/bingryan/obsidian-markdown-export-plugin
- https://github.com/blacksmithgu/obsidian-dataview
@ -1914,17 +1912,14 @@ softwarePlugins:
- https://github.com/FlorianWoelki/obsidian-iconize
- https://github.com/ganesshkumar/obsidian-table-editor
- https://github.com/getmatterapp/obsidian-matter
- https://github.com/HananoshikaYomaru/obsidian-publish-url
- https://github.com/HEmile/obsidian-search-on-internet
- https://github.com/hipstersmoothie/obsidian-plugin-toc
- https://github.com/ivan-lednev/obsidian-day-planner
- https://github.com/jamesmagoo/nostr-writer
- https://github.com/javalent/settings-search
- https://github.com/jmilldotdev/obsidian-wikipedia
- https://github.com/joethei/obsidian-rss
- https://github.com/jonstodle/obsius-obsidian-plugin
- https://github.com/khoj-ai/khoj
- https://github.com/LBF38/obsidian-syncthing-integration
- https://github.com/liamcain/obsidian-calendar-plugin
- https://github.com/liamcain/obsidian-periodic-notes
- https://github.com/linjunpop/obsidian-gist

View file

@ -420,9 +420,11 @@ setCIEnvironmentVariables() {
# @description Disconnect from WARP, if connected
ensureWarpDisconnected() {
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
logg info "Disconnecting from WARP" && warp-cli disconnect && logg success "Disconnected WARP to prevent conflicts"
if [ -z "$DEBUG" ]; then
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
logg info "Disconnecting from WARP" && warp-cli disconnect && logg success "Disconnected WARP to prevent conflicts"
fi
fi
fi
}

View file

@ -100,9 +100,11 @@ setCIEnvironmentVariables() {
# @description Disconnect from WARP, if connected
ensureWarpDisconnected() {
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
logg info "Disconnecting from WARP" && warp-cli disconnect && logg success "Disconnected WARP to prevent conflicts"
if [ -z "$DEBUG" ]; then
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
logg info "Disconnecting from WARP" && warp-cli disconnect && logg success "Disconnected WARP to prevent conflicts"
fi
fi
fi
}