all repos

tmux-stare @ 02f8aba59746f6f44a157452bbee039aafb33303

session manager, but my session manager
1 files changed, 3 insertions(+), 2 deletions(-)
fix auto start
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-02-10 16:01:18 +0200
Change ID: qqopttxlozktqltosoywlssypptxoqlq
Parent: a981691
M stare.tmux

@@ -21,13 +21,14 @@ local save_key="$(get_opt_save)"

[[ -n "$save_key" ]] && tmux bind-key "$save_key" run-shell "$CURRENT_DIR/scripts/_save.sh" local start_action="$(get_opt_start)" - local is_initialized="$(get_opt_initialized)" - if [[ "$is_initialized" =~ "1" ]]; then + if [[ "$(get_opt_initialized)" == "0" ]]; then if [[ "$start_action" == "last" ]]; then tmux run-shell -b "sleep 0.1 && '$CURRENT_DIR/scripts/_restore.sh'" elif [[ "$start_action" == "pick" ]]; then tmux run-shell -b "sleep 0.1 && '$CURRENT_DIR/scripts/_pick.sh'" fi + + set_opt_initialized "1" fi add_save_interpolation