Tags: joshmedeski/sesh
Tags
Fix tmuxinator attach issue tmuxinator start auto-attached when sesh invoked it, then SwitchOrAttach ran a second attach that failed once the user killed the session — surfacing as "Failed to attach to tmux session: exit status 1". Pass --no-attach so tmuxinator only creates the session, and --name=<project> so the tmux session name matches what sesh knows about (tmuxinator list returns the file name, but yml `name:` field can override the tmux session name). Propagate the error from Start which was previously discarded.
Add man page generation to build and release pipeline (#341) Wire the hidden `sesh man` subcommand (provided by fang/mango-cobra) into the justfile, goreleaser hooks, archives, brew formula, and AUR package so man pages are built and distributed automatically.
Add --config/-C global flag for custom config path (#325) * Add --config/-C global flag for custom config file path Allow users to specify a custom config file path via --config/-C flag, enabling use cases like NixOS wrappers, multiple contexts (work/private), and testing with different configurations. The flag is pre-parsed from os.Args before the DI graph is constructed, keeping the existing eager initialization architecture intact. * Add README instructions for custom config path * Clean up config flag to work properly * Refactor DI to lazy construction for --config flag Replace eager DI in NewRootCommand with lazy construction in each subcommand's RunE. This eliminates the extractConfigFlag hack in main.go, makes --config/-C a normal cobra PersistentFlag, and returns config errors cleanly instead of panicking.
PreviousNext