Add function snippet for shell
Merge pull request #277 from reyesyang/master

Add function snippet for shell