Skip to content

v0.4.0

Latest

Choose a tag to compare

@subbeh subbeh released this 03 Oct 07:07
8aac974

Highlights

Per-directory windows

per-dir now accepts window in addition to true. Instead of creating a separate session per git repository/directory, TPad keeps a single tpad_<instance> session with one window per directory:

set -g @tpad-git-per-dir "window"
  • Toggling the popup selects (or creates) the window for the current directory
  • Windows are named after their directory; the popup title omits the directory suffix
  • The popup closes when a window's command exits instead of showing another directory's window
  • Ejected panes are tracked per window, so reclaim returns them to the right directory

per-dir "true" keeps the existing session-per-directory behaviour.

Commands run with exec

cmd now runs with exec by default, so no leftover shell remains when the command exits. For compound commands (&&, ||, ;), set shell "true" to keep the shell.

Other changes

  • The default popup title uses fg=terminal instead of magenta, so it follows your terminal theme
  • Ejecting a pane no longer reports an error when the popup is already gone
  • Formatting cleanup in tpad.tmux and README.md

Full changelog: v0.3.1...v0.4.0