cronvel / slash

The hackable shell.
6 stars 0 forks source link

What is this? #1

Open alexwaeseperlman opened 7 years ago

alexwaeseperlman commented 7 years ago

This seems cool but it doesn't really have any documentation or any explanation. Is it a javascript shell? What is it?

cronvel commented 7 years ago

Yes, this is a Node.js shell, a replacement for bash. It's really new and can be unstable.

It is inspired by Powerline, but I have much more idea in mind. Powerline is limited to a prompt, but here, since it's a whole shell, there are many more possibilities I would like to explore.

It is compatible with 80% of bash command line syntax ATM. But the shell programming part will never be ported, instead, some Node.js framework, like shelljs would be proposed as a replacement in the future (still brainstorming about that).

If you are curious, you can npm install -g slash-shell, then run it with the command: slash. It's recommended that you install powerline fonts to improve the appearance. On Fedora: dnf install powerline-fonts. Then open ~/.slash/config.kfg and set fontLevel to 2. Run slash again and enjoy the nice status line.