Skip to content

env::path::add

add(path: String)

ParameterTypeDescription
pathStringPath to add

Adds the provided path to $PATH and ~/.config/elk/path.txt. Paths in path.txt are automatically added to $PATH each Elk session.

Returns

(nil)