On Fri, Jan 20, 2023 at 11:50:52PM +0100, Martin Schulte wrote: > Hello Nicolas! > > > bash-5.1$ echo () { echo test } > > > echo test > > > } > > bash-5.1$ echo
> Most probably you want to insert a ; before the first closing }: > > echo() { echo test ; } > > But even now bash will crash. It's not clear what the original intent was, but... unicorn:~$ echo() { command echo test; } unicorn:~$ echo hello world test Perhaps that's what the OP was trying to do.