When I gedit
files from the command line, it's always locking the terminal, and I'm tired of explicitly commanding a detached process for it.
I tried to alias gedit
as something like gedit $* & disown
, but either that's not the right syntax or you're not allowed to overload executable binary commands with aliases (tried using that in a .bash_aliases function,
alias gedit=editorz
function editorz()
{
gedit $* & disown
}
), but it doesn't take.
So how do I make the command gedit test.txt
not lock the originating terminal window?
func_name() {...; }
– Shawn J. Goff Jan 18 '11 at 20:47