Emacs is actually straight-up my shell now.
I was bound to do it at some point…
#include <unistd.h>
int main(int argc, char *argv[])
{
return execlp("emacs", "emacs", "-f", "eshell", (char *)NULL);
}
- Compile
- Install as /bin/eshell
- Add /bin/eshell to /etc/shells
- chsh