Code Monkey home page Code Monkey logo

Comments (4)

v217 avatar v217 commented on July 20, 2024

A workaround for the first point is
daudin --shell '/usr/bin/env -S'

Oh and I noticed that terminating a subprocess eg sleep 1000 with Ctrl+c does work for --shell='bash -c'
but does not work for
--shell='sh -c', --shell='fish -c' and --shell='env -S'
I think that's because bash parses the command and if there's only one command execve into the command and exits.

from daudin.

v217 avatar v217 commented on July 20, 2024

I also came across this article, which maybe is also useful for daudin:
Zsh and Fish’s simple but clever trick for highlighting missing linefeeds

from daudin.

v217 avatar v217 commented on July 20, 2024

Sorry for this sudden agglomeration of ideas.
I think in the long run it would be advantageous to factor out the non-interactive code. This would make it far easier to understand the code.

from daudin.

terrycojones avatar terrycojones commented on July 20, 2024

Hey @v217 - thanks for the comments, and definitely no need to apologize! :-) Right now I can't spend much time working on daudin but would like to. Anyway, I'm happy to chat and to think etc., and maybe will have time to work on small things (if I understand them!). Feel free to send pull requests if you want to & have time. Thanks for the nice comments. I don't think daudin is too far away from actually being usable, and I would like to try switching. But I use fish and would certainly miss the predictive text it adds to my command line based on previous commands.

BTW, daudin seems to sometimes screw up the terminal settings, which I need to dig into.

from daudin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.