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 hackers with the skills:

c shell python design

This project is part of:

Hack Week 15

Activity

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

  • Comments

    Be the first to comment!

    Similar Projects

    Improving picotm by tdz

    Picotm is a system-level transaction manager. I...


    make "predictable network interface names" more predictable by mkubecek

    Since the so-called "predictable names" for net...


    netlink interface for ethtool by mkubecek

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


    ethtool ops for netdevsim by mkubecek

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


    dmidecode: no more open-coded printfs by jdelvare

    There's a long standing request to extend the o...


    Write a commandline client for the geekos by dheidler

    There used to be a tool called tel that would...


    Try to write simple rope-base Python language-server for LSP protocol by mcepl

    Future of tools supporting editors in dealing w...


    openSUSE Leap release process improvements by lkocman

    Goal:

    I'd like to have the release proce...


    Home assistant that doesn't spy on you - developer's edition by DKarakasilis

    There are various home assistant solutions out ...