wip: add .clang-format
Implement case clause
783dd27a — Pavel Shlyak 5 months ago
Fix typo

https://github.com/emersion/mrsh/issues/73 part 2
unspecified.c: don't abort in interactive shells
Check return value of times against (clock_t)-1

Fixes #76
Abort when unspecified commands are attempted
Switch FreeBSD build to freebsd/latest
Remove unnecessary argc check from cd

This check was preventing the no-argument form of cd from executing.
1af38099 — Ben Brown 6 months ago
Adding getopt implementation

It's pretty simple but I think it covers all of items described in the
22232fa4 — Ben Brown 6 months ago
Adding handling of symbolic arguments to umask
b29e60c2 — Ben Brown 6 months ago
Added -S flag to umask
448ee4f6 — Ben Brown 6 months ago
Reset optind to 0

POSIX states that setting this to 0 is unspecified however setting it
to 1 is causing issues on certain versions of glibc.
Fix error handling in basic frontend
44efa8a8 — Ben Brown 6 months ago
Very basic umask implementation

Doesn't yet support the -S flag, or symbolic modes, but does allow for
getting and setting the umask.
Fix exit status
Source /etc/profile
Source ENV, only source ~/.profile if login shell

Fixes https://github.com/emersion/mrsh/issues/62
builtin: fix memory leaks in dot and eval
parser: fix io_number

Fixes https://github.com/emersion/mrsh/issues/64
readme: add link to website, improve refs