Set PWD to readonly
Flesh out $ENV implementation

Perform parameter expansion and print an error if it's not an absolute
path.
Implement xtrace option & PS4 expansion
meson: allow switch fallthrough with a comment
meson: use feature options
meson: enable more compiler warnings
shell: fix memory leak in expand_ps
67b65308 — Koushik Roy a month ago
Change the multiline check to a single line check for backwards compatibility (#87)

* Use Parens for the multiline check in the Meson file

* Make the conditional a single line
8660d8d0 — Cristian Adrián Ontivero a month ago
Accept spaces inside arithmetic expressions

Fixes #52.
d28f531c — Cristian Adrián Ontivero a month ago
Fix parser choking on certain arithmetic operators

Specifically '&', '|', '/', '<', and '>' in arithmetic expressions.
21468dfb — Cristian Adrián Ontivero a month ago
Rename *_func_t types to *_func

POSIX reserves the _t suffix, so it's advisable to avoid it.
7b4f77fa — Cristian Adrián Ontivero a month ago
Parse arithmetic expressions with shifts

We introduce the function arithmetic_word() to parse arithmetic
expressions instead of reusing the general word(), and generalize
word_list() to receive a pointer to function, so that word_list() may be
used to parse a list of whatever type of word we need.

This fixes #51, and enables properly parsing parenthesized expressions
inside arithmetic expressions, e.g. $(((2+1)-1)).
Pass environ into mrsh_populate_env
Add mrsh_get_alias
Add shell/entry.c
b201f014 — Cristian Adrián Ontivero a month ago
Correctly trim trailing newlines in $() expansions

Fixes https://github.com/emersion/mrsh/issues/74
Replace non-standard escape sequence with char equivalent.

Fixes error messages generated from compiling with -Wall -Werror
-Wpedantic.
ci: add an optimized build
editorconfig: tweak style for .yml files
meson: fix FreeBSD -Wl,--version-script detection
Next