On Tue, Aug 25, 2015 at 06:36:34PM +0200, Corentin Peuvrel wrote:
> If you have an alias named "foobar", you can create a function with the 
> keyword "function" (with or without parenthesis) :
> $ function foobar { :; }
> 
> But you cannot if you don't :
> $ foobar() {:;}
> -bash: syntax error near unexpected token `('

unalias foobar
foobar() { ...; }

Reply via email to