You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add cmdlets for rename-session and rename-window #90
No cmdlet renames a session or a window. New-TmuxSession and New-TmuxWindow take -Name when they create one, and a later rename is reachable only through the raw-command cmdlets Invoke-TmuxCommand and Invoke-TmuxChain.
Motivation
The README's Invoke-TmuxChain example renames a window with New-TmuxCommand -Name rename-window -Arguments @('-t', 'chain:0', 'build'). The target is a literal string, so a rename that follows a typed read such as Get-TmuxWindow has to rebuild the target from the handle's ID by hand, and a typed Session or Window cannot be piped in.
libtmux for Go has Session.Rename and Window.Rename (session, window), and libtmux for Rust has Session::rename and Window::rename (session, window).
Activity
Session(feat[rename]) Add Rename-TmuxSession and Rename-TmuxWindow
Session(feat[rename]) Add Rename-TmuxSession and Rename-TmuxWindow