Update sh.snippets

Add keywords and solve the bugs.