Giter VIP home page Giter VIP logo

Comments (3)

LuKePicci avatar LuKePicci commented on June 24, 2024 1

This was in my "could do" list, never got time to check, but it can be done for sure by adding some definitions somewhere. See here: https://askubuntu.com/questions/68175/how-to-create-script-with-auto-complete , for nvOC static autocomplete should be enough.

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on June 24, 2024

@LuKePicci
Thanks,
I checked that and looked at some of the already installed scripts in "/etc/bash_completion.d/" but i feel like it needs your magic.
So I leave it to be in your To Do / Could Do list to play with it whenever you get time.

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on June 24, 2024

I just read the other answers in that post and it looks like it can be much easier with .bashrc
We just need to add these to .bashrc:

_nvOC_options='clearlogs gpuinfo gpumap report restore upgrade miners-upgrade reboot stop start restart install-service start-service stop-service main-log miner-log cpuminer-log wdog-log temp-log wtm-log master-log restore-xorg'
complete -W "${_nvOC_options}" 'nvOC'

Edit:
Not working with bash ~/NVOC/mining/nvOC

from nvoc_by_fullzero_community_release.

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.