CJSH: A Python 3 Based Experimental, Programmable Linux / Unix / Mac Shell

CJSHayward.com/cjsh

TL;DR

curl http://CJSHayward.com/cjsh/download.cgi > ~/bin/cjsh && chmod 0755 !#:3

What is cjsh/CJSH?

cjsh, developed by CJSH (Christos Jonathan Seth Hayward) is an experimental Unix/Linux command-line shell, designed to search for files for the user instead of making the user search through directory heirarchies manually, and allow much of the power of Python as its command-line scripting language.

It can be downloaded, as in the TL;DR section above, and can be initialized (this takes some time, but it pays off in usage), by running:

dev ~/directory $ cjsh --update
Creating image of file heirarchy; please wait.
This may take some time; it may be worth the wait (but sorry...)
Note that the following works well in nightly crontab:

    cjsh --update --silent

The image is complete. You are free to use cjsh.
dev ~/directory $ cjsh
One moment, please; trying to load data...
Loaded.
Welcome to cjsh. Please visit CJSHayward.com! Hit '?' for help.
--
user @ dev.localdomain - Tue Oct  2 17:00:43 2012
/Users/user
cjsh> [TAB] for index in range(10):
----> echo %(index)d
----> 
0
1
2
3
4
5
6
7
8
9
user @ dev.localdomain - Tue Oct  2 17:02:24 2012
/Users/user
cjsh> 

Those echo statements are not built into the (cjsh) shell. They come from an os.system() statement, and it is possible in this way to interleave shell commands and Python, with Python variables accessible to the shell commands, at least at a basic level.

What are you waiting for? Try it!

License: This project is free software, available under your choice of the MIT and GPLv2 licenses. If you like this software, you are invited to consider linking to CJSHayward.com.

CFL: A truly unique distributed version control system

Mobile Web Proxy

Private logistics: Privacy-sensitive todo, calendar, scratchpad, personal information management (PIM)

Within the Steel Orb

Author: C.J.S. Hayward

Who is Christos Jonathan Seth Hayward? A man, made in the image of God and summoned to ascend to the heights of the likeness of God. A great sinner, and in fact, the chief of sinners. One who is, moment by moment, in each ascetical decision choosing to become one notch more a creature of Heaven, or one notch more a creature of Hell, until his life is spent and his eternal choice between Heaven and Hell is eternally sealed. Man, mediator, midpoint, microcosm, measure: as man he is the recapitulation of the entire spiritual and visible creation, having physical life in common with plants and animals, and noetic life in common with rank upon rank of angel host, and forever in the shadow of that moment when Heaven kissed earth and God and the Son of God became Man and the Son of Man that men might become gods and the sons of God. He’s also a writer with a few hobbies, but really, there are more important things in life.