-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What you have done is remarkable! #10
Comments
Hi @tahalukmanji - thanks for commenting. Glad you like it! If it may someday replace bash for you, that would be great. I just added a simple function to color my prompt (see https://github.com/terrycojones/daudin/blob/master/example-functions.py) BTW, after I initially wrote it I contacted the guy who has the |
+1 This is great. Daudin is a distinct name but it would be nice to be more descriptive. What about psh. Given we import sh and we have sh & zsh as shells, why not psh? Although ctrl-r will never replace the ease of use I get from zsh the python bash integration is wonderful. I use it with Python 3.8 and have started to build some little script files with it. This uses the results of a bash script that saves my CPU temp every 10 seconds to a file called .temps so its nice to use the walrus operator plus piping to nothing to avoid extra output
I assist with MITx 6.00.1x (over a million enrollments since 2012) so I'll mention it a few times and see if it ups your interest rate. |
Hi @john9631 Thanks for all this - sorry for the slow reply, I've only just seen your comment. I looked for available names quite a bit before going for the left field Thanks a lot re mentioning in the 6.00.1 course (I suppose that's the most famous course number ever, at least in the CS world), that would be great. |
I normally use
Cool :-) I wasn't sure what the "to avoid extra output" meant, but now I get it. I guess you could start out like this too (and not see any output due to the assignment):
or |
That's easier. You should try zsh sometime. I went to it after an MIT TA persuaded me to try fish but I wasn't comfortable with its complete departure from Bash. Zsh give you a large amount of bash compatibility but with an interface you can't beat. I would recommend using zprezto to make your choices simple. For me, ctrl r in zsh maps to fzf so I get a fuzzy search of my zhistory: |
Thanks. Fish has (from my extremely limited knowledge of the state of the art) what seems like a ton of innovation, and despite its reverse search I don't think I could go back to bash. The predictive text it emits and the ease of using that feature is wonderful. But at the same time it feels to me like the change from the regular Bourne shell to a csh way back when - syntax changes meant to make life simpler or more friendly or something positive, that actually (for me) always felt somehow awkward and foreign. I guess it was just growing up (to the extent that I did that at all) with sh. Anyway, maybe zsh has that feature too - I will definitely take a look now, thanks. BTW, here's a 6 year old thread on the fish github repo with people (including me) asking for its search to be improved, with recommendations to use fzf (which I also use, but not enough) fish-shell/fish-shell#602 |
What you have here is amazing! Someday daudin can replace bash..., maybe rename it to pysh or something like that.
The text was updated successfully, but these errors were encountered: