Skip to content

env::path::remove

remove(index: Integer)

ParameterTypeDescription
indexInteger

Removes the path of the given index from $PATH and ~/.config/elk/path.txt. The index can be found with the help of the path::list function.

Returns

(nil)

Errors

If the index is out of range.