A basic shell interface that can execute Unix commands
Project description
ysh
ysh is a basic shell implementation written in Python that allows users to execute Unix commands. It also features command history functionality, enabling users to navigate through previously executed commands using the up/down arrow keys.
Features
- Execute Unix commands directly within the shell.
- Command history: Navigate through previously executed commands using up/down arrow keys.
- Command history is persistent: All executed commands are saved in
~/.ysh_history
. - [Future] Tab completion functionality.
Installation
You can install ysh using pip
pip install ysh
Usage
Simply run tsh
to start the shell. You can then type Unix commands directly into the shell prompt and press Enter to execute them.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ysh-0.0.1.1.tar.gz
(4.3 kB
view details)
Built Distribution
ysh-0.0.1.1-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file ysh-0.0.1.1.tar.gz
.
File metadata
- Download URL: ysh-0.0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 465bb01d6d0781e3a07a252d667bf8571a7662d616a86eca648a5c6d4bc9dfaa |
|
MD5 | f8e75b06c46935b5a77ebe33b4a9daa7 |
|
BLAKE2b-256 | c9126ecc8fb2eb80f9a24e553c490429303f577d10ec91076454c1f917fa6645 |
File details
Details for the file ysh-0.0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ysh-0.0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44f388373f743b420c04f0055c38e52579e594fa119d91c1c115c9682cf457a5 |
|
MD5 | a6d3a79c67fb8dbb4f0a639d991377b5 |
|
BLAKE2b-256 | ec22bc4477d37008a6cf380123d5d4b4d408c6a9f313381b28e3160c6a39a926 |