mods is completely broken, fix until they fix

main
Rob Muhlestein 10 months ago
parent 515e65077d
commit 72c0c547c5

@ -8,13 +8,13 @@ export OPENAI_API_KEY
! _have mods && echo "requires charmbracelet/mods" && exit 1
if test -t 0; then
if _have glow; then
#if test -t 0; then
# if _have glow; then
mods --status-text "Ummm" -f "$*" | glow
else
mods --status-text "Ummm" "$*"
fi
else
mods --quiet "$*" | sed 's,[?25l [?25h[?1002l[?1003l,,g'
# else
# mods --status-text "Ummm" "$*"
# fi
#else
# mods --quiet "$*" | sed -E 's,[?25l [?25h[?1002l[?1003l,,g'
# |sed 's/\x1B\[[0-9;\?]*[a-zA-Z]//g'
fi
#fi

Loading…
Cancel
Save