On 30Jan2018 21:43, InvalidPath <invalid.path@xxxxxxxxx> wrote:
One last thing.. how do I get it to only display user@host rather than
the full path that I'm currently in on the remote server?
[...]
Hey Garry, So please don't think I'm ungrateful here.. even if the konsole
tabs get long.. it's still VERY helpful to have teh hostnames in there.
Let me ask, how'd you figure out how what code/syntax was needed to do what
it does to the tab names? I'm looking at it and I can't figure out what
part does what.. exactly.
Try here?
https://docs.kde.org/stable5/en/applications/konsole/console-dialogs.html#rename-tab-dialog
Ignoring that for the moment, I use this script:
https://bitbucket.org/cameron_simpson/css/src/tip/bin/ttylabel
Much like Garry's but expects to be told what to put in the label. So my prompt
function calls it with what I want in the label.
The point here is that you might no need to know the % syntax, you can just put
your own text there if you update it when needed.
Cheers,
Cameron Simpson <cs@xxxxxxxxxx> (formerly cs@xxxxxxxxxx)
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx