Code Monkey home page Code Monkey logo

Comments (3)

pimlie avatar pimlie commented on June 11, 2024

Yeah, would be nice. But afaik we would then need to add another file to /etc/bash_completion which might get too complex. I prefer not to have an install script and I also dont think its a good idea to have umk (😄) write a bash completion script itself as that good be treated as unwanted behaviour by users

So I think we should hold out on this for now until more people request this

from ubuntu-mainline-kernel.sh.

robinpaulson avatar robinpaulson commented on June 11, 2024

I agree it does get a bit more complicated, yes, and it could well be seen as unwanted behaviour. Some responses, though:

  • I would suggest putting the file in ~/.local/etc/bash_completion.d/ (I think that's the correct location)
  • Perhaps create an option, activated by something like umk -tc, which only writes the file if the user specifically invokes it

from ubuntu-mainline-kernel.sh.

robinpaulson avatar robinpaulson commented on June 11, 2024

I realised that if I use the -u option, the script will present a list of kernels and ask which I wish to install. Given that, tab-completion is mostly unnecessary. Closing, apologies for not exploring further earlier.

from ubuntu-mainline-kernel.sh.

Related Issues (20)

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.