You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Dull Bananas 01f1439bc3 Fix installation issue 3 years ago
.github/workflows Fix thing 3 years ago
artwork Add logo (#1) 3 years ago
dish Fix installation issue 3 years ago
docs Improve docs 3 years ago
tests Add time tag for prompts 3 years ago
.gitignore Initial commit 3 years ago
LICENSE Initial commit 3 years ago
Makefile Add code coverage 3 years ago
README.md remove space 3 years ago
demo_script.dish Add multiline comments 3 years ago
readthedocs.yml Fix readthedocs 3 years ago
setup.py Fix installation issue 3 years ago

README.md

A new Unix shell implemented in Python


Gitter Codacy coverage Codacy grade Maintenance PyPI - Python Version PyPI PyPI - License


Dish is a new Unix shell implemented in Python with Flask-like configuration and extensibility. It is currently in alpha stage of development. It works by having a Python script called "dish" somewhere in PATH. This script looks a bit like a single-file Flask application. Here is an example:

#!/usr/bin/env python3

from dish import Dish
dish = Dish()

# ansicolor color to be used in PS1 prompt
from dish.ext import ansicolor
dish.register_extension(ansicolor)

dish.config['PS1'] = '<color fg="pink">$</color> '

if __name__ == '__main__':
    dish.run()

Installation

To install the latest stable version:

$ pip3 install --user dish

To install the master branch:

$ git clone https://github.com/dullbananas/dish.git
$ cd dish
$ python3 setup.py install --user