o: simplify tui commands - remove grep filters

The shell escaping for grep patterns was complex and fragile.
Removed the cosmetic filters for [[[...]]] and backticks.
This commit is contained in:
Levi Neely 2026-10-09 12:35:33 +02:00
parent 9f69654d0c
commit 8c7a3bf83b
1 changed files with 2 additions and 2 deletions

View File

@ -412,10 +412,10 @@ cmd_tui() {
local ctx="$s/$a" local ctx="$s/$a"
tmux new-session -d -s "$tmux_session" -c "$HOME" tmux new-session -d -s "$tmux_session" -c "$HOME"
tmux set-option -t "$tmux_session" mouse on 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 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 "starting... | %H:%M"
tmux set-option -t "$tmux_session" status-right-length 64 tmux set-option -t "$tmux_session" status-right-length 64