Add function snippet for sh-mode