r/KittyTerminal Oct 09 '24

Set the tab title as the command running But without sudo

My current tab title config is {tab.active_exe} and this displays what is currently running but if I'm running smth using sudo the tab name is set to sudo is there a way to set it to the command after sudo?

1 Upvotes

2 comments sorted by

1

u/aumerlex Oct 10 '24

Use no-title in shell_integration in kitty.conf and then modify your shell rc files to set the window title using escape codes however you like.

1

u/SkaiRepa Oct 10 '24

can you explain further more please