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 4 years ago: federico3 added keyword "c" to this project.
  • over 4 years ago: federico3 added keyword "shell" to this project.
  • over 4 years ago: federico3 added keyword "python" to this project.
  • over 4 years ago: federico3 added keyword "design" to this project.
  • over 4 years ago: federico3 originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    multipath-tools: cleaner model for path device information by mwilck

    Project Description

    Obtaining correct inf...


    multipathd: improve asynchronous behavior by mwilck

    Project Description

    multipathd is multi...


    Phoebe - where AI meets Linux by mvarlese

    Project Description

    Phoeβe (/ˈfiːbi/) wan...


    NeoMutt: Show index and body of emails in a horizontal split by iivanov

    [comment]: # (Please use the project descriptio...


    multipath-tools: improve CI by mwilck

    Project Description

    multipath-tools is ...


    YAML 1.2 Schema support for PyYAML by tinita

    [comment]: # (Please use the project descriptio...


    Resurrect NWS CLI project by seanmarlow

    Project Description

    Many years back I cre...


    One of couple of Python projects by mcepl

    There are couple of projects I work on, which n...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the Gitter channel! [https://gitter.im/uy...


    Language Server Protocol implementation for Salt States by cbosdonnat

    [Language Server Protocol](https://microsoft.gi...


    Design the 2021 Open Build Service sticker by hennevogel

    2019

    ![2019 sticker](https://i.pinimg.com/5...


    Developing an opinionated storage appliance by asettle

    [comment]: # (Please use the project descriptio...