df.tips
How to set a title for a Bash console via the `PS1` environment variable?
Unix
Bash
console-title
,
bash-environment-variable
,
environment-variable
,
bash
,
bash-profile
dmitrii_fediuk
(Dmitrii Fediuk)
June 10, 2023, 9:24am
2
Add to
.bash_profile
:
PS1+='\[\e]0;A TITLE\e\\\]'
Cygwin
Git for Windows
unix.stackexchange.com/a/679060
How do I setup the console window
title
via
.bash_profile
for
Cygwin
and
Git for Windows
?
How to distinguish
Cygwin
and
Git for Windows
in a running bash script?