#shell #command-line #posix-shell #syntax-highlighting #bash #tabs #productivity

app nsh

A command-line shell written in Rust that focuses on productivity and swiftness

20 releases

0.4.2 Jul 21, 2021
0.4.0 Jan 9, 2021
0.3.5 Aug 26, 2020
0.3.4 Jun 14, 2020
0.0.3 Dec 19, 2018

#2664 in Command line utilities

Download history 2/week @ 2024-07-21 25/week @ 2024-07-28 10/week @ 2024-08-04 12/week @ 2024-08-11 11/week @ 2024-08-18 13/week @ 2024-08-25 9/week @ 2024-09-01 16/week @ 2024-09-08 9/week @ 2024-09-15 96/week @ 2024-09-22 19/week @ 2024-09-29 16/week @ 2024-10-06 13/week @ 2024-10-13 15/week @ 2024-10-20 6/week @ 2024-10-27 14/week @ 2024-11-03

51 downloads per month

CC0-1.0 OR MIT

355KB
9K SLoC

nsh

CI Status Latest version

A command-line shell that focuses on productivity and swiftness featuring:

  • A POSIX compliant interactive shell with some Bash extensions.
  • Tab completions and syntax highlighting.
  • Bash completion support (by internally invoking the genuine Bash).
  • Builtin zero configration features.
  • Written in Rust 🦀

screenshot

Installation

$ cargo install nsh

Documentation

Documentation

Why create a new shell?

Bash is the best for executing shell scripts but its interactive mode is not satisfactory. I am a zsh user for the last decade but I don't need customizability and got tired of making my zshrc faster. Fish is really neat but I prefer old-fashioned, traditional, and ergonomic shell syntax.

Contributing

nsh is in alpha stage: there are many missing features which Bash provides, there are kludges in source code, and there must be bugs. To make nsh practical for daily use, I need your help!

How can I contribute?

  • Report bugs in GitHub issues. Please attach a minimal reproducible example (e.g. shell script) if possible. It helps me to fix the bug easier.
  • Suggest enhancements in GitHub issues.
  • Submit a Pull Request which implements a new feature, fixes a bug, refactors code, rephrases sentences in documentation, etc.

License

CC0 or MIT. Choose whichever you prefer.

Dependencies

~11–23MB
~289K SLoC