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

  • over 2 years ago: federico3 added keyword "design" to Shell completion
  • over 2 years ago: federico3 added keyword "python" to Shell completion
  • over 2 years ago: federico3 added keyword "shell" to Shell completion
  • over 2 years ago: federico3 added keyword "c" to Shell completion
  • over 2 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...


    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,

    ...


    Make "salt-toaster" available to be used outside SUSE by PSuarezHernandez

    The salt-toaster (https://github.com/openSUSE...


    Porting Askbot to Python 3 by rbueker

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


    LibertyDraft.dev by hennevogel

    Discover Free Software projects that expose you...