Fix shell snippets