Implement shellcomp

Command line (aka tab) completion is popular in the Unix world as it helps typing speed, prevents typos and makes the shell more user-friendly. Impementing filename completion is easy. Implementing command-specific completion like git com<tab> is not. Completion scripts are different across Bash, Zsh and Fish. Time consuming to implement, sometimes out of date, hacky.

Shellcomp is a proposal for a shell completion protocol. Completion is implemented in the command about to be run: The shell run the command with a specific --tabcomplete '<partial_string>' option. The command responds with simple JSON structure that the shell will parse to perform completion or display help messages.

Looking for mad skills in:

c shell python design

This project is part of:

Hack Week 15

Activity

  • almost 3 years ago: federico3 added keyword "design" to Shell completion
  • almost 3 years ago: federico3 added keyword "python" to Shell completion
  • almost 3 years ago: federico3 added keyword "shell" to Shell completion
  • almost 3 years ago: federico3 added keyword "c" to Shell completion
  • almost 3 years ago: federico3 originated Shell completion
  • Show History

    Comments

    Be the first to comment!

    Similar Projects

    ethtool ops for netdevsim by mkubecek

    This can be seen as a subproject of [ethtool ne...


    netlink interface for ethtool by mkubecek

    There seems to be an overall consensus that the...


    Porting Askbot to Python 3 by rbueker

    During the last year Askbot, a question and ans...


    Run and manage your Ansible cluster using Salt! by PSuarezHernandez

    At SUSE we've implemented a module on Salt call...


    Evaluate mirrormanager (or mirrormanager2) for download.opensuse.org mirror management by lrupp

    As there is no progress around [MIrrorPinky](ht...


    Uyuni: improve spacewalk-repo-sync performance by moio

    Let's make reposync faster

    Every day,

    ...


    Finish packaging Angr in OBS by a_faerber

    Following a FOSDEM presentation on [Angr](http:...


    LibertyDraft.dev by hennevogel

    Discover Free Software projects that expose you...