[TxMt] Textmate Inserts strange '0]; 0];' string

Sam Goldstein sam_g at beezwax.net
Wed Oct 24 20:19:29 UTC 2007


Thanks Allan.  You're absolutely right.

I'd installed a line in bashrc which traps each command and prints it in 
iterm's window title:
trap 'printf "\033]0;  `history 1 | cut -b8-`  \007"' DEBUG

commenting this out solves the problem.

thanks again,
Sam


Allan Odgaard wrote:
> On 24/10/2007, at 21:59, Sam Goldstein wrote:
>
>> When I use some of the Ruby on Rails bundle Database migration 
>> functions its inserted.
>> [...]
>
> Okay, these characters are likely written from your shell startup 
> files, which are executed when running (shell) commands from TextMate.
>
> You can alter your shell startup files to only output stuff for 
> interactive terminal sessions, see 
> http://macromates.com/wiki/Troubleshooting/ShellCommands
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate



More information about the textmate mailing list