Skip to content
/ msh Public

a simple and minimal shell written in python

License

Notifications You must be signed in to change notification settings

raina268/msh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a simple and minimal shell written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages