Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion home-manager/programs/fish/functions/_tsh_function.fish
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function _tsh_function --description "Search tmux pane contents (live + archived

# work--0--0.txt or work--0--0--20260226-103000.txt → sess=work, widx=0
set -l fname (string replace -r '.*/' '' "$selected" \
| string replace -r '--\d{8}-\d{6}\.txt$' '' \
| string replace -r -- '--\d{8}-\d{6}\.txt$' '' \
| string replace '.txt' '')
set -l parts (string split -- '--' $fname)
set -l sess $parts[1]
Expand Down
2 changes: 1 addition & 1 deletion home-manager/programs/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ bind K run-shell "tmux new-window 'fish -c _tsk_function'"
# Extrakto (text extraction)
set -g @extrakto_key 'tab'

set -g history-limit 0
set -g history-limit 2147483647

# Persistent session history logger (starts once per server boot)
run-shell "pgrep -f 'session-logger.sh' > /dev/null 2>&1 || (nohup ~/.config/tmux/session-logger.sh > /dev/null 2>&1 &)"
Loading