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
Authored at: 2026-02-09 18:18:12 +0200
Change ID: qqopttxlozktqltosoywlssypptxoqlq
Parent: a981691
M stare.tmux
ยทยทยท
        21
        21
           [[ -n "$save_key" ]] && tmux bind-key "$save_key" run-shell "$CURRENT_DIR/scripts/_save.sh"

      
        22
        22
         

      
        23
        23
           local start_action="$(get_opt_start)"

      
        24
        
        -  local is_initialized="$(get_opt_initialized)"

      
        25
        
        -  if [[ "$is_initialized" =~ "1" ]]; then

      
        
        24
        +  if [[ "$(get_opt_initialized)" == "0" ]]; then

      
        26
        25
             if [[ "$start_action" == "last" ]]; then

      
        27
        26
               tmux run-shell -b "sleep 0.1 && '$CURRENT_DIR/scripts/_restore.sh'"

      
        28
        27
             elif [[ "$start_action" == "pick" ]]; then

      
        29
        28
               tmux run-shell -b "sleep 0.1 && '$CURRENT_DIR/scripts/_pick.sh'"

      
        30
        29
             fi

      
        
        30
        +

      
        
        31
        +    set_opt_initialized "1"

      
        31
        32
           fi

      
        32
        33
         

      
        33
        34
           add_save_interpolation