descriptionThe cross platform UNIX shell
repository URLhttps://github.com/myzhang1029/psh.git
ownerme@maiyun.me
last changeSun, 21 Feb 2021 13:39:56 +0000 (21 21:39 +0800)
last refreshFri, 3 May 2024 22:25:08 +0000 (4 00:25 +0200)
content tags
add:
README.md

psh

Build Status Gitpod Ready-to-Code

Description

Psh is a shell implementation. It tries to mimic most of bash's and dash's behaviors.

Psh started out as a vvy/wshell fork, but now all original contents have been removed and re-implemented without referencing the original code, and the shell is being worked on completely by me and other nice contributors.

Psh aims to be able to compile on as many C99 systems as possible, providing a highly emulated POSIX environment. To reach this goal, psh juices out those platform-dependent parts, for example, subprocess management and user data extraction, into backends.

Psh is now my UWC FP free summer project.

Usage

Psh is equipped with CMake build system as well as GNU autotools support.

mkdir build
cd build
cmake ..
make

or

autoreconf -fi
./configure
make

Now just run:

src/psh

Future Plans

Have a look at the GitHub projects Roadmap kanban!

Contributing

Issues and pull requests are always welcomed! However, please do take a note on licensing and this readme. For the code style, following the existing code should work, it will be even better if the style defined with the .clang-format file is used.

shortlog
2021-02-21 Zhang MaiyunMerge pull request #35 from DevManu-de/dev-redirect... dev-redirect-handle
2020-12-30 Manuel BerteleFixed a rare bug with -x flag
2020-12-30 Manuel BerteleAdded -x flag
2020-12-12 Zhang MaiyunMerge pull request #34 from DevManu-de/dev-redirect...
2020-12-12 Zhang MaiyunDeclare in a case-local scope and exit bashly
2020-12-11 Manuel BerteleRemoved unnecessary #includes
2020-12-11 Manuel BerteleAdded and implemented -c flag
2020-12-07 Zhang MaiyunRefine usage of const pointers
2020-12-06 Zhang MaiyunFix unalias
2020-12-06 Zhang MaiyunMerge pull request #32 from DevManu-de/dev-alias
2020-12-06 Zhang MaiyunImprove bash-conformance and reduce code size
2020-12-05 Manuel BerteleReduced memory usage
2020-12-05 Manuel BerteleAdded documentation
2020-12-05 Manuel BerteleAdded and implemented unalias -a flag
2020-12-05 Manuel BerteleMerge branch 'dev-redirect-handle' of https://github...
2020-12-05 Manuel BerteleMade minor changes
...
tags
3 years ago good-old-filpinfo From now on, filpinfo() is modified.
5 years ago first-stable The first stable version(mainly...
5 years ago last-wuyve-commit This is the last commit authored...
heads
3 years ago dev-redirect-handle
3 years ago myzhang1029/issue4