Mksh

is the MirBSD Korn Shell, Article description::an actively developed free implementation of the Korn Shell programming language and a successor to the Public Domain Korn Shell. It is developed as part of the MirOS Project as native Bourne/POSIX/Korn shell for MirOS BSD, but also to be readily available under other UNIX-like operating systems. It targets users who desire a compact, fast, reliable, secure shell not cut off modern extensions, with unicode support.

Because of its speed, POSIX compliance, and advanced features, it is ideally suited for scripting. But it can serve very well as a login shell too. It is used as default shell on Android.

Emerge
Install :

Installed size is about 280K on an amd64 system (vs. 721K for bash-4).

Set default login shell
To make the default login shell, run:

Local
The local configuration file used is — see  for an example that is shipped with the package.

External resources

 * #!/bin/mksh IRC channel on Freenode