Giter VIP home page Giter VIP logo

xbps-completion's Introduction

Autocompletion for the xbps package manager

Dependencies

Depends on bash-completion because without it, it just doesn't work! *if you can't use bash-completion then you can just source them in your .bashrc:

source /path/to/xbps-install-completion
source /path/to/xbps-remove-completion

One downside is that it doesn't work with sudo (Unless you maybe change something in .bashrc)

Installation

git clone https://github.com/lynxcs/xbps-completion && cd xbps-completion
./xbps-completion-update.sh

Copy xbps-install/remove-completion to /etc/bash_completions.d (create the folder if it doesn't exist)

cp /path/to/xbps-install-completion /etc/bash_completions.d/
cp /path/to/xbps-remove-completion /etc/bash_completions.d/

And occasionally run the included update script. (Or alias it to xbps-install so it runs after xbps finishes) (Or do it on system startup) (You get the idea, you need to run this once in a while.)

TODO

  • Improve Speed (calling xbps-query everytime isn't the best)
  • Improve Speed even further?
  • Combine both completion files into one?

xbps-completion's People

Contributors

lynxcs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xbps-completion's Issues

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.