Thanks a bunch! Exactly what I was thinking of! =D
- Vidar
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
Something like this should do it:
1. add in cygwin.bat (or a copy of it), before bash command:
set __TYTLE__=%~1
2. in your .bash_profile add:
if [ "$__TYTLE__" ]; then
PS1="\[\033]0;\$__TYTLE__\007"'
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
fi
3. Create o shortcut with something like this
Hi!
I'm trying to find a method for making it so that if I launch a specific shortcut to
cygwin
it will have a title of my choosing, and keep it (not change to the current path and
such).
I've searched the archive but all I could find were some procedures including lots of
escape
characters, wh
3 matches
Mail list logo