Skip to content

v0.2.2

Choose a tag to compare

@subbeh subbeh released this 06 Nov 22:33
· 18 commits to main since this release

New Features

  • Per-directory sessions: Create separate sessions for each git repository
    • Add per-dir configuration option to enable per-repository sessions
    • Automatically detects git root and creates unique sessions (e.g., tpad_lazygit_project1,
      tpad_lazygit_project2)
    • Ideal for tools like lazygit where you want independent sessions for different projects
    • Falls back to current directory if not in a git repository

Functions Added

  • get_git_root(): Detects git root directory from current pane path
  • sanitize_dir_name(): Converts directory paths to safe session name suffixes

Example Configuration

set -g @tpad-git-bind "C-g"
set -g @tpad-git-cmd "lazygit"
set -g @tpad-git-per-dir "true"