Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customising terminal title format or disabling it altogether #657

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

benjamineskola
Copy link

I'm sure this could be improved upon but hopefully it's useful even as a starting point.

I had to add passing the "$@" from the hook functions into prompt_pure_set_title, or it wouldn't be available to user-defined formats (which makes the preexec arguments $3, $4, and $5). I also changed ignore-escape to expand-prompt, again so a user can make use of that feature, which means the ignore-escape mode is never used and perhaps it could be removed?

Fixes #656

@cgsdev0
Copy link

cgsdev0 commented Aug 2, 2023

any update on this? i am interested in this feature

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.

Feature request: customise terminal title format
2 participants