dish

A new, modern Unix shell implemented in pure Python with Flask-like configuration and extensibility


Keywords
distributed shared memory quorum, command-line, configurable, extensible, interface, linux, linux-shell, macos, python, python3, shell, unix, unix-like, unix-shell
License
MIT
Install
pip install dish==0.0.0

Documentation

A new Unix shell implemented in Python


Gitter Codacy coverage Codacy grade Maintenance


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

Currently, it's not possible to install with Pip yet. To install the master branch:

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

Project Links