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:
parent
9f69654d0c
commit
8c7a3bf83b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue