From 8c7a3bf83bfff8f57b8391f7b9fedf64b6a2fdc1 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 9 Oct 2026 12:35:33 +0200 Subject: [PATCH] o: simplify tui commands - remove grep filters The shell escaping for grep patterns was complex and fragile. Removed the cosmetic filters for [[[...]]] and backticks. --- data/scripts/o | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/scripts/o b/data/scripts/o index a24f31a..bfd43f1 100755 --- a/data/scripts/o +++ b/data/scripts/o @@ -412,10 +412,10 @@ cmd_tui() { local ctx="$s/$a" tmux new-session -d -s "$tmux_session" -c "$HOME" tmux set-option -t "$tmux_session" mouse on - tmux send-keys -t "$tmux_session" "o '$ctx' log -n 1000 | grep -v '\\[\\[\\[.*\\]\\]\\]' | grep -v '^\`\`\`'; o '$ctx' read chat" Enter + tmux send-keys -t "$tmux_session" "o '$ctx' log -n 1000; o '$ctx' read chat" Enter tmux split-window -t "$tmux_session" -v -l 20% - tmux send-keys -t "$tmux_session" "clear; o '$ctx' prompt" Enter + tmux send-keys -t "$tmux_session" "o '$ctx' prompt" Enter tmux set-option -t "$tmux_session" status-right "starting... | %H:%M" tmux set-option -t "$tmux_session" status-right-length 64