<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dwarvish.git/src/compose, branch docs</title>
<subtitle>a (mostly) posix compliant shell and tiny functional programming language
</subtitle>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/'/>
<entry>
<title>Add the 'alias' built-in command</title>
<updated>2024-03-31T02:15:12+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-03-31T02:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=2439f63a1c0859fd454d4a67dc36b61ad6ab5eb8'/>
<id>2439f63a1c0859fd454d4a67dc36b61ad6ab5eb8</id>
<content type='text'>
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&lt;String, String&gt;,
instead of a Vec&lt;String&gt;.

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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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&lt;String, String&gt;,
instead of a Vec&lt;String&gt;.

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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add wrapper for global shell environment</title>
<updated>2024-03-31T01:05:23+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-03-31T01:05:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=d408624afeb0035217d3d327e21b24a62b803f28'/>
<id>d408624afeb0035217d3d327e21b24a62b803f28</id>
<content type='text'>
Instead of having to pass around a bunch of different data structures
for various shell functions, create the wrapper compose::Environment,
which serves as a global shell state. It is configured via
login/profile/rc scripts initially, but can of course be modified
throughout the lifetime of the shell.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of having to pass around a bunch of different data structures
for various shell functions, create the wrapper compose::Environment,
which serves as a global shell state. It is configured via
login/profile/rc scripts initially, but can of course be modified
throughout the lifetime of the shell.
</pre>
</div>
</content>
</entry>
</feed>
