Add lshell function to execute commands.