Shell - refresh the completions after rendering a template