Skip to content

feat: Add tmux_prompt function for prompt customization#18

Open
danrneal wants to merge 1 commit into
dimo414:masterfrom
danrneal:add-tmux-prompt
Open

feat: Add tmux_prompt function for prompt customization#18
danrneal wants to merge 1 commit into
dimo414:masterfrom
danrneal:add-tmux-prompt

Conversation

@danrneal
Copy link
Copy Markdown

@danrneal danrneal commented Nov 9, 2025

This change introduces a new tmux_prompt function that provides a prompt segment for displaying the current tmux session, window index, and window name.

This function acts as a parallel to the existing screen_prompt and allows users of the more modern tmux terminal multiplexer to have the same level of integration in their shell prompt.

The format is 'session_name:window_index:window_name' to adhere to the idiomatic style used by tmux itself.

This change introduces a new `tmux_prompt` function that provides
a prompt segment for displaying the current tmux session, window index,
and window name.

This function acts as a parallel to the existing `screen_prompt`
and allows users of the more modern tmux terminal multiplexer to
have the same level of integration in their shell prompt.

The format is 'session_name:window_index:window_name' to adhere to
the idiomatic style used by tmux itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant