On Tue, Jan 30, 2018 at 3:05 PM, Garry Williams <gtwilliams(a)gmail.com>
wrote:
On Tue, Jan 30, 2018 at 4:13 PM, InvalidPath
<invalid.path(a)gmail.com>
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?
>
I use the prompt for that information[*]. The whole reason for using %w
is so that the *shell* (local or remote) can set the title of the tab. If
you want the shell to supply another value, then you need to modify the
code I supplied to do whatever you need done. Perhaps you want to use
another format specifier in the tab settings and not use the shell at all.
Maybe I misunderstood the question. The "Insert" drop-down in the tab
configuration screen will show what is available, if you don't want the
shell to fill it in.
__________________
[*] A typical prompt for me is: "garry@ifr$ ". I look at the window
title to remind me of the path. I also never show the tabs in konsole.
That way there's always enough real estate for the path in my terminal
title bar. It works for me. At work, I also use different profiles to get
different background colors on terminal sessions depending on what host I
am logged into. Then I use different menu items (icons, that is) to log to
different hosts. More visual cues to make sure I know my context so I
don't do something stupid.
--
Garry Williams
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
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.
Also in konsole what is the difference, or how does one differentiate
between tab and remote tab?