bash alias q

2006-05-01 Thread Erez D
hii have in csh:alias vi 'gvim \!* 'i tryed translating to bash asalias vi='gvim $* 'this works without the ampersand, bit not with itorvi() {gvim $* ; } same again.any idea ?thanks,erez.

Re: bash alias q

2006-05-01 Thread Oded Shimon
On Mon, May 01, 2006 at 09:35:27AM +0300, Erez D wrote: hi i have in csh: alias vi 'gvim \!* ' i tryed translating to bash as alias vi='gvim $* ' this works without the ampersand, bit not with it aliases are replacement text, not scripts. whatever you set in your alias will be

Re: bash alias q

2006-05-01 Thread Oded Shimon
On Mon, May 01, 2006 at 10:21:33AM +0300, Erez D wrote: On 5/1/06, Oded Shimon [EMAIL PROTECTED] wrote: On Mon, May 01, 2006 at 09:35:27AM +0300, Erez D wrote: hi i have in csh: alias vi 'gvim \!* ' i tryed translating to bash as alias vi='gvim $* ' this works without the