Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set the terminal tab title as prompt name in unix

Lets say, the prompt is as below

run_scripts >

How to set that terminal tab title same as prompt i.e Terminal tab tile also should be
run_scripts>

So that terminal title should dynamically update when the prompt changes.

like image 932
user1228191 Avatar asked Nov 29 '25 15:11

user1228191


1 Answers

Many terminals emulators are able to understand the special escaping : "\033]0;foo\007".

like image 147
Jean-Baptiste Yunès Avatar answered Dec 02 '25 06:12

Jean-Baptiste Yunès



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!