{"id":22258084,"url":"https://github.com/coot/zsh-haskell","last_synced_at":"2025-07-28T07:32:07.805Z","repository":{"id":148940066,"uuid":"236190463","full_name":"coot/zsh-haskell","owner":"coot","description":"ghc and cabal completion for zsh shell","archived":false,"fork":false,"pushed_at":"2023-03-21T20:07:39.000Z","size":904,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-16T16:22:33.323Z","etag":null,"topics":["cabal-completion","ghc","zsh","zsh-completions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coot.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}},"created_at":"2020-01-25T15:46:38.000Z","updated_at":"2023-05-12T16:57:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f99d6069-fa03-4e0d-accc-0a37b89e3033","html_url":"https://github.com/coot/zsh-haskell","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coot%2Fzsh-haskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coot%2Fzsh-haskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coot%2Fzsh-haskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coot%2Fzsh-haskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coot","download_url":"https://codeload.github.com/coot/zsh-haskell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227877782,"owners_count":17833559,"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":["cabal-completion","ghc","zsh","zsh-completions"],"created_at":"2024-12-03T08:13:25.227Z","updated_at":"2024-12-03T08:13:25.909Z","avatar_url":"https://github.com/coot.png","language":"Shell","funding_links":[],"categories":["Completions"],"sub_categories":["ZSH on Windows"],"readme":"# ZSH shell plugin for Haskell\n\n* completion for **ghc** options\n* completion for **cabal** commands; it can expands cabal components (libraries,\n  tests, benchmarks and executables) and pkgs specs.  It also complets options\n  of `cabal` commands and package names (e.g. `cabal info` or `cabal\n  install`)\n* completion for **ghc-pkgs** commands \u0026 options\n\n# Usage\n\nThe completion script will find and inspect all cabal files under current\ndirectory which are not deeper than four directories away.  It does not descent\nunder `dist-newstye`, `dist`, `.stack-work` or `.git` directories.\n\nCompletion for the following package specs is supported:\n\n* `component-name` - it can be either a component name or a package name\n* `package-name:{lib,test,exe,bench}:component-name`\n* `package-name:{libs,tests,exes,benches}`\n* `pkg:package-name:{lib,test,exe,bench}:component-name`.\n* `pkg:package-name:{libs,tests,exes,benches}`.\n* `lib:component-name`,\n* `exec:component-name`,\n* `bench:component-name`,\n* `test:component-name`\n\nThe last six are only triggered when `pkg:`, `lib:`, `exec:`, `bench:` or\n`test:` are given **explicitly**.  This is in order to avoid providing too many\ncompletion results.\n\n# Configuration\n\n```\nzstyle \":completion::complete:cabal::options:\" depth 4\n```\nMaximan directory depth for searching for `*.cabal` files.\n\n```\nzstyle \":completion::complete:cabal::options:\" \nzstyle \":completion::complete:cabal::options:\" packages-tmp-file \"/tmp/zsh-haskell-cabal-packages\"\n```\nFile which stores list of package names.  It will be created on demenad (e.g.\nby completiting `cabal info` or `cabal install`, etc.).\n\n# Demo\n![](https://raw.githubusercontent.com/coot/zsh-cabal/master/docs/screencast.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoot%2Fzsh-haskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoot%2Fzsh-haskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoot%2Fzsh-haskell/lists"}