Just as described in article http://www.cygwin.com/ml/cygwin/2003-09/msg00825.html
PS1='\[\e]0;\w\a\e[32;1m\]$ \[\e[0m\]' current directory contais 2 scripts: `pkgcheck.pl' and `pkgwget.sh` Starting a command: $ ./pk and pressing TAB 3 times (one for completion ./pkg and other two for the list of completions), string pkgcheck.pl pkgwget.sh $ ./pkgpkg appears and after ^H (or ^U) $ ./p these 3 characters remains unerasable -- 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/