https://github.com/nuta/nsh
A command-line shell like fish, but POSIX compatible.
https://github.com/nuta/nsh
cli rust shell
Last synced: 12 months ago
JSON representation
A command-line shell like fish, but POSIX compatible.
- Host: GitHub
- URL: https://github.com/nuta/nsh
- Owner: nuta
- Created: 2018-10-05T11:11:19.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-02-11T15:49:51.000Z (about 3 years ago)
- Last Synced: 2025-05-10T16:13:03.498Z (12 months ago)
- Topics: cli, rust, shell
- Language: Rust
- Homepage:
- Size: 1.23 MB
- Stars: 940
- Watchers: 12
- Forks: 34
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ricing - Nsh - command-line shell like fish, but POSIX compatible. (rust) (Packages / Shells)
README
nsh
====

[](https://crates.io/crates/nsh)
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 :crab:

Installation
------------
```
$ cargo install nsh
```
Documentation
-------------
**[Documentation](https://github.com/nuta/nsh/tree/master/docs)**
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](https://github.com/nuta/nsh/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](https://github.com/nuta/nsh/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.