Search code examples
fishgnome-terminal

How to set tab title of gnome-terminal in fish?


It's gnome-terminal 3.18.3 in ubuntu 16.04. And fish 2.2.0. Thanks.

PS. I have a script to do it in bash, but it does not work in fish..


Solution

  • You can do this by implementing the fish_title function. See fish shell - Showing the current command in the window title of screen