Hey guys/gals,

I'm sure you've been asked this countless times but is there an effective
way to name terminals or terminal tabs?

I have tried added the following to . bashrc

set-title(){
ORIG=$PS1
TITLE="\e]2;$@\a"
PS1=${ORIG}${TITLE}
}

Then set title by:  Kali>  set-title "new terminal title"

The only issue with this is after I name a new terminal and copy and paste
a string into the terminal it behaves strangely and the text wraps around
and ultimately can't execute the function.

Thoughts?

Thanks,
Mike
_______________________________________________
gnome-list mailing list
gnome-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-list

Reply via email to