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

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

    Comments

    Be the first to comment!

    Similar Projects

    continue / push osc2 by mstrigl

    While osc is growing and getting more and more ...


    My Epitaph by aocole

    Create a site where users can post their desire...


    Support for WiFi-enabled Canon cameras in gphoto by michal-m

    I have a Canon PowerShot S120, which allows for...


    Evernote client (everpad/geeknote) for openSUSE by mwilck

    Evernote is a popu...


    Protect disk devices from concurrent use in the libvirt libxl hypervisor driver by jfehlig

    The libvirt qemu hypervisor driver has long sup...