Skip to main content

snippet

Function snippet 

Source
pub fn snippet(shell: Shell, chord: Chord) -> String
Expand description

The integration code for a shell, with the chord written into it.

Compiled in and substituted once. This runs on every shell start, so it reads no files and does no work beyond printing: a slow one is the most common reason people uninstall tools of this kind.