Recently any attempt to do something in TM that required a shell command would hang. After finding the troubleshooting info on the wiki, I ran the following command from the terminal. The results are shown. Any suggestions on how to fix? My shell-fu is pretty rusty.<br>
<br>BASH_ENV=/Applications/TextMate.app/Contents/SharedSupport/Support/lib/bash_init.sh /bin/bash -xc 'echo test' 2> tm.debug<br><br>tm.debug contents: <br>--------------------------------------------------------------------------------------<br>
+ unset BASH_ENV<br>+ export LC_CTYPE=en_US.UTF-8<br>+ LC_CTYPE=en_US.UTF-8<br>+ : /Users/user/Library/Application Support/TextMate/bash_init.sh<br>+ '[' '!' -f '/Users/user/Library/Application Support/TextMate/bash_init.sh' ']'<br>
+ set +u<br>+ [[ -d /bin ]]<br>+ PATH=/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/usr/local/imagemagick-6.5.2/bin:/usr/local/imagemagick-6.5.2/bin:/usr/local/imagemagick-6.5.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/bin<br>
+ [[ -d /bin/CocoaDialog.app/Contents/MacOS ]]<br>+ [[ -d '' ]]<br>+ export PATH<br>+ [[ -f /Users/user/Library/Application Support/TextMate/bash_init.sh ]]<br>+ . '/Users/user/Library/Application Support/TextMate/bash_init.sh'<br>
++ unset BASH_ENV<br>++ export LC_CTYPE=en_US.UTF-8<br>++ LC_CTYPE=en_US.UTF-8<br>++ : /Users/user/Library/Application Support/TextMate/bash_init.sh<br>++ '[' '!' -f '/Users/user/Library/Application Support/TextMate/bash_init.sh' ']'<br>
++ set +u<br>++ [[ -d /bin ]]<br>++ PATH=/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/usr/local/imagemagick-6.5.2/bin:/usr/local/imagemagick-6.5.2/bin:/usr/local/imagemagick-6.5.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/bin:/bin<br>
++ [[ -d /bin/CocoaDialog.app/Contents/MacOS ]]<br>++ [[ -d '' ]]<br>++ export PATH<br>++ [[ -f /Users/user/Library/Application Support/TextMate/bash_init.sh ]]<br>++ . '/Users/user/Library/Application Support/TextMate/bash_init.sh'<br>
+++ unset BASH_ENV<br>+++ export LC_CTYPE=en_US.UTF-8<br>+++ LC_CTYPE=en_US.UTF-8<br>+++ : /Users/user/Library/Application Support/TextMate/bash_init.sh<br>+++ '[' '!' -f '/Users/user/Library/Application Support/TextMate/bash_init.sh' ']'<br>
+++ set +u<br>+++ [[ -d /bin ]]<br>+++ PATH=/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/usr/local/imagemagick-6.5.2/bin:/usr/local/imagemagick-6.5.2/bin:/usr/local/imagemagick-6.5.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/bin:/bin:/bin<br>
+++ [[ -d /bin/CocoaDialog.app/Contents/MacOS ]]<br>+++ [[ -d '' ]]<br>+++ export PATH<br>+++ [[ -f /Users/user/Library/Application Support/TextMate/bash_init.sh ]]<br>+++ . '/Users/user/Library/Application Support/TextMate/bash_init.sh'<br>
<br>... and so on, nesting deeper and deeper, while adding :/bin to the path on each level<br><br>