Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

trinkey/tsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This repository has been migrated to git.gay. The Github version will no longer be maintained.

tsh

(trinkey shell - name idea by @uncenter)

it's like bash but i made it

!! VERY WIP !!

how to use:

  1. download the code
  2. install libraries if you haven't already (pip install --upgrade dotindex readchar)
  3. run main.py
  4. profit

known issues

  • the cursor position on the first line when there are multiple lines is off by one

roadmap

(assuming i don't get distracted)

  1. finish the text engine
    • delete
    • left
    • right
    • home
    • end
    • up
    • down
    • tab (maybe wait until after implementing some commands?)
  2. implement basic commands
    • ls
    • cd
    • cat
    • echo
    • touch/mkdir
    • mv/cp
  3. detect executables in /bin/..., /usr/bin/..., etc. and allow running them
  4. piping and that kinda stuff
    • ... | ... (also add grep)
    • ... > ... (write to file)
    • ... >> ... (append to file)
  5. math
    • +/-
    • */[division]/%/^ (maybe use ** for exponents like python?)
    • parenthesis and order of operations
    • bitwise operators
  6. variables
  7. add the programming language part
    • if/else
    • while
    • for

About

"i mean it kinda works" -me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages