{"id":15652104,"url":"https://github.com/perlpunk/shell-completions","last_synced_at":"2025-07-24T11:08:18.825Z","repository":{"id":141767828,"uuid":"119544294","full_name":"perlpunk/shell-completions","owner":"perlpunk","description":"Collection of shell (bash, zsh) tab completion scripts for various command line tools","archived":false,"fork":false,"pushed_at":"2020-09-02T20:12:16.000Z","size":242,"stargazers_count":38,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T20:08:03.045Z","etag":null,"topics":["autocomplete","bash","completion","tab-completion","yaml","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perlpunk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-30T14:05:28.000Z","updated_at":"2025-03-10T21:04:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"da7a4a91-49b0-4ea8-80b8-aabb6e558f2e","html_url":"https://github.com/perlpunk/shell-completions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/perlpunk/shell-completions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fshell-completions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fshell-completions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fshell-completions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fshell-completions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perlpunk","download_url":"https://codeload.github.com/perlpunk/shell-completions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perlpunk%2Fshell-completions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264862790,"owners_count":23675046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","bash","completion","tab-completion","yaml","zsh"],"created_at":"2024-10-03T12:41:22.025Z","updated_at":"2025-07-11T17:34:25.970Z","avatar_url":"https://github.com/perlpunk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Collection of shell tab completion scripts for various command line tools\n\nThese scripts are automatically generated from YAML files which can be found\nunder `specs/`.\n\nThe format supports nested subcommands, specifying enums for possible\nparameters/option values and dynamic completion calling an external\ncommand.\n\nThe generation is done with the `appspec` tool (see \"Developing\" below).\n\nCurrently it supports bash and zsh completions.\n\n## List of commands\n\n* `cpan-upload` - upload a distribution to the CPAN\n* `cpan` - easily interact with CPAN from the command line\n* `cpanm` - Install CPAN modules\n* `dancer2` - Dancer2 command line interface\n* `dzil` - do stuff with your dist\n* `fallocate` - Preallocate or deallocate space to a file\n* `fatpack` - Pack perl script and modules into standalone script\n* `file` - determine file type\n* `fzf` - a command-line fuzzy finder\n* `h2xs` - convert .h C header files to Perl extensions\n* `htpasswd` - Manage user files for basic authentication\n* `hypnotoad` - Hypnotoad HTTP and WebSocket server\n* `jq` - Command-line JSON processor\n* `json_pp` - JSON::PP command utility\n* `json_xs` - JSON::XS commandline utility\n* `locate` - Find files by name\n* `lwp-request` - Simple command line user agent (Aliases GET, HEAD, POST)\n* `mojo` - The Mojolicious command system\n* `morbo` - Morbo HTTP and WebSocket development server\n* `mpath` - display the full path to a perl module (installed locally)\n* `pip` - A tool for installing and managing Python packages\n* `plackup` - Run PSGI application with Plack handlers\n* `pod2html` - convert .pod files to .html files\n* `prove` - Run tests through a TAP harness\n* `starman` - High-performance preforking PSGI/Plack web server\n* `tower-cli` - Ansible Tower Commandline\n* `yamllint` - A linter for YAML files\n* `ysh` - The YAML Test Shell\n* `zild` - Dist::Zilla Mixed Up\n\n## Installation\n\n    git clone https://github.com/perlpunk/shell-completions\n\n## Usage\n\nLook into the `specs/commandname.yaml` for specific usage instructions.\n\n### Bash\n\nFor a specific script, just source it:\n\n    $ source /path/to/shell-completions/bash/commandname.bash\n\nPut this in your `.bashrc` for using all completions:\n\n    for i in /path/to/shell-completions/bash/*.bash; do source $i; done\n\n#### Using only one `\u003cTAB\u003e` keypress like in zsh\n\nYou can enable this by putting the following in your `~/.inputrc`:\n\n    set show-all-if-ambiguous on\n\nSee [GNU Readline Init File Syntax](https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html).\n\n### Zsh\n\nFor activating the completions, you can do:\n\n    % fpath=(/path/to/shell-completions/zsh $fpath)\n    % compinit\n\nTo just try out completion for one specific script, you can also do:\n\n    % source /path/to/shell-completions/zsh/_commandname\n    % compdef _commandname commandname\n\nPut this in your `.zshrc` for activating all completions:\n\n    # before the compinit call\n    fpath=('/path/to/shell-completions/zsh' $fpath)\n\nThis way zsh won't load all functions at startup, but the completions will get\nautoloaded dynamically when the command is first used.\n\nWhen developing a new completion, after a change it's enough to source it,\nwithout calling `compinit` again:\n\n    % source /path/to/shell-completions/zsh/_commandname\n\n## Developing\n\nThe `appspec` tool is used to generate the completions. You don't need it\nif you just want to use the completions.\n\nIf you want to modify or add a new completion, install the `App::AppSpec`\nperl module, or use the standalone script:\n\n    % git clone https://github.com/perlpunk/App-AppSpec-p5 -b standalone appspec\n    % PATH=$PWD/appspec/bin:$PATH\n\nFor more details see https://github.com/perlpunk/App-AppSpec-p5.\n\nCreate a new specification `specs/commandname.yaml` and type:\n\n    make commandname\n\n## See Also\n\n* https://github.com/zsh-users/zsh-completions - Over 130 completion scripts\n  for zsh\n* https://github.com/unixorn/awesome-zsh-plugins - A collection of ZSH\n  frameworks, plugins \u0026 themes\n* https://github.com/complete-shell - A different approach for generating\n  and installing completions for bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlpunk%2Fshell-completions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperlpunk%2Fshell-completions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlpunk%2Fshell-completions/lists"}