{"id":17956334,"url":"https://github.com/b0o/zsh-extras","last_synced_at":"2026-04-10T15:48:48.067Z","repository":{"id":88329500,"uuid":"361126160","full_name":"b0o/zsh-extras","owner":"b0o","description":"Extra completions and functions for zsh!","archived":false,"fork":false,"pushed_at":"2021-06-13T03:01:10.000Z","size":37,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T05:45:19.250Z","etag":null,"topics":["arch-linux","neovim","pacman","vim","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b0o.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":"2021-04-24T09:54:09.000Z","updated_at":"2023-11-15T14:54:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"577a5069-2a70-4a5c-b4fd-84b7067922db","html_url":"https://github.com/b0o/zsh-extras","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0o%2Fzsh-extras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0o%2Fzsh-extras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0o%2Fzsh-extras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0o%2Fzsh-extras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b0o","download_url":"https://codeload.github.com/b0o/zsh-extras/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247043352,"owners_count":20874087,"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":["arch-linux","neovim","pacman","vim","zsh","zsh-completions"],"created_at":"2024-10-29T10:37:23.063Z","updated_at":"2025-12-30T23:09:33.351Z","avatar_url":"https://github.com/b0o.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zsh-extras\n\n## general\n\nThe following general helper functions are included:\n\n| File                          | Usage                 | Mnemonic                   | Description                                                                                                       |\n| ----------------------------- | --------------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------- |\n| [`mg`](/functions/mg)         | `mg \u003cpat\u003e`            | _**m**an **g**rep_         | Search inside of all manpages found in your `MANPATH` (requires [ripgrep](https://github.com/BurntSushi/ripgrep)) |\n| [`putfn`](/functions/putfn)   | `putfn \u003cfunc\u003e \u003cdest\u003e` | _**put** **f**u**n**ction_ | Puts the source of `\u003cfunc\u003e` into the file `\u003cdest\u003e`. Useful for quickly saving interactively-defined functions     |\n| [`_putfn`](/functions/_putfn) |                       |                            | Provides completions for the putfn function                                                                       |\n\n## pacman\n\nThe following pacman-related helper functions are included:\n\n| File                                          | Usage                     | Mnemonic                                        | Description                                         |\n| --------------------------------------------- | ------------------------- | ----------------------------------------------- | --------------------------------------------------- |\n| [`pacopen`](/functions/pacopen)               | `pacopen \u003cpackage\u003e`       | _**pac**man **open**_                           | Open the URL associated with `\u003cpackage\u003e`            |\n| [`pqlm`](/functions/pqlm)                     | `pqlm \u003cpackage\u003e..`        | _**p**acman **q**uery **l**ist **m**anpages_    | List man pages owned by `\u003cpackage\u003e..`               |\n| [`pqlmg`](/functions/pqlmg)                   | `pqlmg \u003cpat\u003e \u003cpackage\u003e..` | _**pqlm** **g**rep_                             | Search inside all man pages owned by `\u003cpackage\u003e..`  |\n| [`pqlx`](/functions/pqlx)                     | `pqlx \u003cpackage\u003e..`        | _**p**acman **q**uery **l**ist e**x**ecutables_ | List executable files owned by `\u003cpackage\u003e..`        |\n| [`pqoc`](/functions/pqoc)                     | `pqoc \u003ccommand\u003e..`        | _**p**acman **q**uery **o**wner of **c**ommand_ | Show the package that owns `\u003ccommand\u003e..`            |\n| [`_pacman_extras`](/functions/_pacman_extras) |                           |                                                 | Provides completions for the other pacman functions |\n\n## vim-help\n\nhttps://user-images.githubusercontent.com/21299126/115955030-142f3b00-a4a9-11eb-9595-4d940e7f2adf.mp4\n\nThe following vim-related helper functions are included:\n\n| File                                | Usage                   | Description                                                   |\n| ----------------------------------- | ----------------------- | ------------------------------------------------------------- |\n| [`nvim-help`](/functions/nvim-help) | `nvim-help \u003chelptag\u003e..` | Open the neovim help tag (like running `:h \u003ctag\u003e`) in neovim. |\n| [`vim-help`](/functions/vim-help)   | `vim-help \u003chelptag\u003e..`  | Open the vim help tag (like running `:h \u003ctag\u003e`) in vim.       |\n| [`_vim-help`](/functions/_vim-help) |                         | Provides completions for the other vim functions              |\n\nThe [`vim-help`](/functions/vim-help) and [`nvim-help`](/functions/nvim-help)\nzsh functions launch {,neo}vim directly from the shell into the help view for\nthe given help tags, one per tab.\n\nThe [`_vim-help`](/functions/_vim-help) file adds completions for the\n{,n}vim-help functions for all vim help tags found on your system.\n\nAs a Neovim user, I also like to alias `nvim-help` to `vh`:\n\n```zsh\nalias vh=nvim-help\n```\n\n## Installation\n\n#### antigen\n\n```zsh\nantigen bundle 'b0o/zsh-extras'\n```\n\n#### zinit\n\n```zsh\nzinit ice wait'0b' lucid # Optional: enable lazy loading\nzinit light 'b0o/zsh-extras'\n```\n\n#### zplug\n\n```zsh\nzplug 'b0o/zsh-extras'\n```\n\n#### oh-my-zsh\n\nClone the repository inside your oh-my-zsh repo:\n\n```\n$ git clone https://github.com/b0o/zsh-extras \"${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-extras\"\n```\n\nEnable it in your `zshrc` by adding it to your plugin list and reloading the completion:\n\n```zsh\nplugins=(… 'zsh-extras')\nautoload -U compinit \u0026\u0026 compinit\n```\n\n#### Manual installation\n\nClone the repository:\n\n```\n$ git clone git://github.com/b0o/zsh-extras.git\n```\n\nThen, either source the `zsh-extras.plugin.zsh` in your `zshrc`:\n\n```\nsource \"path/to/zsh-extras/zsh-extras.plugin.zsh\"\n```\n\nOr, include the `functions` directory in your `$fpath` and autoload the\nnon-completion functions:\n\n```zsh\nfpath+=(\"path/to/zsh-extras/functions\")\n\n# Autoload non-completion functions\nfor f in path/to/zsh-extras/functions/[^_]*\n  autoload -Uz \"$(basename \"$f\")\"\ndone\n```\n\nYou may have to force rebuild `zcompdump`:\n\n```\n$ rm -f ~/.zcompdump; compinit\n```\n\nIf you only want to install a subset of scripts, please note that some scripts\ndepend on others.\n\n## License\n\n\u0026copy; 2021 Maddison Hellstrom\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0o%2Fzsh-extras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb0o%2Fzsh-extras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0o%2Fzsh-extras/lists"}