Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add docstring comments to all the anthology functions | Rory Dudley | 2024-03-31 | 1 | -0/+18 |
| | | | | | | Add docstring comments for all the incant function throughout the anthology, documenting what each function does, and an example of it's shell command. | ||||
* | Add the 'alias' built-in command | Rory Dudley | 2024-03-30 | 1 | -0/+47 |
The shell now has support for aliases (via alias foo=bar). The 'unalias' command is also available to remove aliases. Finally, Environment::aliases was changed to be a HashMap<String, String>, instead of a Vec<String>. Since the verse's verb might change (for instance, it is an environment variable, or an alias), add another check in Poem::recite, which simply continues, instead of running the spellchecker, if the verb is empty. |