Skip to content
/ nsh Public

A command-line shell like fish, but POSIX compatible.

Notifications You must be signed in to change notification settings

nuta/nsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bdd0702 Â· Feb 11, 2023
Jul 4, 2020
Jul 21, 2021
Feb 11, 2023
Dec 15, 2021
Nov 24, 2018
Mar 4, 2020
Sep 8, 2022
Jul 21, 2021
Jan 9, 2021
Mar 4, 2020
Feb 27, 2020
Feb 27, 2020

Repository files navigation

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.