-
Notifications
You must be signed in to change notification settings - Fork 230
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
Question about tab naming... #395
Comments
The syntax is explained in help file (see Using ConsoleZ/Text formatting). Edit: (discussion has continued in #274) Actually, using %d or %D is not recommended in tabs, because directory changement is not signaled. You must wait for another signal or select another tab to see the tab text refreshed with correct directory. I will check if there is a performance impact by adding this enhancement. I think that modifying title from the shell is the best option (and workaround should be considered only in last resort). This is how most emulators work. The easiest way is:
And for more complex job, like displaying something different when I'm in a specific (sub)directory, you can also call a script:
And now you just have to configure tab title format like this: |
Thank you!
I actually looked at that "Text formatting" page quite a bit, but
admittedly did not understand how to make this work...
…On 12/13/16 23:01, Christophe Bucher wrote:
The syntax is explained in help file (see Using ConsoleZ/Text formatting).
|?t(%t):(?U([%D] ):(%D))| displays the tab title if tab title is not
empty; otherwise the current leaf directory.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#395 (comment)>, or
mute the thread
<https://github.com/notifications/unsubscribe-auth/AFS19ridWd0l_Olij9NpbEysEB_eu-RFks5rH5QzgaJpZM4LLO89>.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
I suspect I've asked about this before, but I can't find any notes on it.
I would like the tab to contain the current "path leaf" name (%D), except if I explicitly named the tab (usually via specific tab definitions in settings:tabs )
I am currently using:
?U([%D] ):(%D)
which gives me the current leaf directory name on each tab, regardless of what I specified settings:tabs:main
I then tried:
?t(%t):(?U([%D] ):(%D))
but that gives me... I don't know what... but not what I wanted.
Is there some way to do this??
The text was updated successfully, but these errors were encountered: