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

  • Comments

    Be the first to comment!

    Similar Projects

    Add GObject based introspectable API to libzypp by zbenjamin

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


    Use ESP-01S as WiFi to UART bridge by iivanov

    Project Description

    Currently with just ...


    ClusterMon Wrapper - Pacemaker Cluster Monitoring that customers can re-use by roseswe

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


    OS self documentation, health check and troubleshooting by roseswe

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


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

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


    OMEMO Hexchat plugin by dknorr

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


    Script that loads dummy data into HANA database for testing purposes. by rangelino

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


    Rewrite libkdumpfile Python binding using CFFI by ptesarik

    Project Description

    The [libkdumpfile](ht...


    Video For Linux 2 Camera monitor, frame capture, day/night exposure control and timelapse generator in python by dmair

    Use the V4L2 API in a PySide qt6.3 application ...