Skip to main content

parse_shell_file

Function parse_shell_file 

Source
pub fn parse_shell_file(path: &Path) -> Result<Vec<AliasEntry>>
Expand description

Parse a shell file and extract aliases and functions

§Arguments

  • path - Path to the shell file to parse

§Returns

A vector of parsed alias and function entries