Skip to main content

init_line

Function init_line 

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

The single line a profile needs.

The snippet is fetched from the binary rather than written into the profile so that an upgraded binary cannot disagree with a stale copy on disk. The chord travels here rather than in a config file because init runs on every shell start and is not allowed to read one.