Skip to content

Latest commit

 

History

History
59 lines (32 loc) · 767 Bytes

readme.md

File metadata and controls

59 lines (32 loc) · 767 Bytes

minimal shell

a simple and minimal shell written in python with piping support

Note: This is not meant to be a replacement for your daily driver. Though, technically you can use it if you want.

config file

alias ls="ls -alh --color"

PS1 = "$ "

! comments

HISSIZE = 1000
HISFILE = $HOME/.msh_his

usage

$ python3 msh.py

# or

$ ./msh.py
msh, version 1.0

Usage:  msh [option] ...

Options:
        -h, --help          print this help message
        -p , --prompt       primary prompt

Shell options:
          PS1=primary prompt
                u for username
                h for hostname
                w for working directory

            eg: msh PS1="[{u}@{h} {w}]$ "

TODO

implement history