-
Notifications
You must be signed in to change notification settings - Fork 1
Shell Completion
phlx0 edited this page Mar 15, 2026
·
1 revision
snip can tab-complete snippet titles and flags in your shell.
Add to ~/.zshrc:
eval "$(snip init zsh)"Add to ~/.bashrc:
eval "$(snip init bash)"- All snippet titles (so
snip por<TAB>completes tosnip ports) - All flags (
--list,--add,--export,run, etc.)
Restart your shell or source ~/.zshrc after adding the line.