Hi there,
I use MacBook Air with OSX 10.7.2.
I try to create the following alias:
alias b="/usr/bin/mate -w ~/.bashrc; source ~/.bashrc"
However, it doesn't work. When I close TextMate the shell doesn't return (I don't see the shell prompt), and nothing happens. Looks like TextMate is still running.
Why is that happening? How could I fix this?
Thanks, Misha
On Wed, Nov 23, 2011 at 10:28, Misha Moroshko michael.moroshko@gmail.com wrote:
I try to create the following alias:
alias b="/usr/bin/mate -w ~/.bashrc; source ~/.bashrc"
However, it doesn't work. When I close TextMate the shell doesn't return (I don't see the shell prompt), and nothing happens. Looks like TextMate is still running.
`mate -w` returns when you close the document you opened with it, like with Cmd-W.
Quitting TextMate altogether (Cmd-Q) doesn't seem to let `mate -w` return, which feels like a bug to me. Allan?
HTH, Martin
On 23 Nov 2011, at 10:55, Martin Kühl wrote:
`mate -w` returns when you close the document you opened with it, like with Cmd-W.
Quitting TextMate altogether (Cmd-Q) doesn't seem to let `mate -w` return, which feels like a bug to me. Allan?
It is, yes.
Unfortunately not too easy to fix because 1.x relies on some Cocoa stuff which is bypassed on application termination but this will work in 2.0 :) Fortunately I think only 3 people have noticed this bug, so it seems to not be common to fully quit after a ‘mate -w’.