Skip to content
/ pjsh Public

A perfectly justified shell for the modern age.

License

Notifications You must be signed in to change notification settings

95jonpet/pjsh

Repository files navigation

Logo

PJSH

A perfectly justified shell for the modern age.

About The Project

PJSH smart pipeline

PJSH is a shell that aims to make the shell easier and more predictable to use. The syntax is mostly kept from the POSIX Shell Specification, but legacy implementation details are removed in order to increase the readability and usability of shell scripts.

PJSH does not require heavy quoting around arguments as splitting is never done implicitly. If it looks like a word in code, it is also a word after expanding variables.

There is also support for multiline strings in which leading whitespace is trimmed in a sensible manner. This means that text indentation is not ruined in the same way as with the heredoc seen in POSIX shells.

PJSH is designed to satisfy the following requirements:

  • Command execution is predictable.
  • Shell scripts are readable.
  • The shell is not locked to a specific operating system.

Built With

PJSH is built using the following software:

Getting Started

PJSH can be run locally using cargo.

# Clone the repository.
git clone https://github.com/95jonpet/pjsh.git

# Compile and run PJSH from the source code.
cargo run