I believe you are looking for
%D (long) or
%d (short).
Open konsole
Select Help
Select Konsole Handbook
Select Rename Tab Dialog
Quote:
Originally Posted by Rename Tab Dialog
The name of the current tab can be changed from this dialog. The dialog can be displayed via the menu, the shortcut Ctrl+Alt+S or by double-clicking on the tab in the tab bar. These changes can be made permanent by editing the current profile.
Konsole will subsitute these tokens: - %n : program name
- %d : current directory (short)
- %D : current directory (long)
- %w : window title set by shell
- %# : session number
- %u : user name
|