{"id":20162556,"url":"https://github.com/zdharma-continuum/zinit-console","last_synced_at":"2025-04-10T00:36:02.306Z","repository":{"id":64500071,"uuid":"425329918","full_name":"zdharma-continuum/zinit-console","owner":"zdharma-continuum","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-16T03:00:54.000Z","size":69,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T02:21:55.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zdharma-continuum.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-11-06T19:24:48.000Z","updated_at":"2022-10-29T19:19:23.000Z","dependencies_parsed_at":"2024-11-14T00:27:10.669Z","dependency_job_id":null,"html_url":"https://github.com/zdharma-continuum/zinit-console","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/zdharma-continuum%2Fzinit-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzinit-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdharma-continuum","download_url":"https://codeload.github.com/zdharma-continuum/zinit-console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247749958,"owners_count":20989714,"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":[],"created_at":"2024-11-14T00:25:41.216Z","updated_at":"2025-04-10T00:36:02.285Z","avatar_url":"https://github.com/zdharma-continuum.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zinit Console\n\nA consolette for Zinit – based on the `zsh/zcurses` Zshell module and the [ZUI](https://github.com/zdharma/zui) library\n– it allows the user to:\n\n- view the currently loaded plugins in a colorful list, in one of 3 different display modes,\n- unload and load plugins,\n- delete the plugins and snippets from the disk.\n\n## Usage\n\nStart the consolette by Ctrl-O Ctrl-J keyboard shortcut, or by running `ziconsole` function in the shell. Then, in the\nconsolette:\n\n| Key(s)             | Description                                                      |\n| ------------------ | ---------------------------------------------------------------- |\n| `Ctrl-U`,`Ctrl-D`  | Half page up; half page down                                     |\n| `Ctrl-P`,`Ctrl-N`  | Previous line, centered; next line, centered                     |\n| `Ctrl-L`           | Redraw of whole display                                          |\n| `[`, `]`           | Jump to next and previous section (e.g.: next plugin or snippet) |\n| `g`, `G`           | Jump to beginning and end of whole interface                     |\n| `\u003c`,`\u003e` or `{`,`}` | Horizontal scroll (i.e.: left or right)                          |\n| `/`                | Show incremental search                                          |\n| `F1`               | Jump to result (in incremental search) and back                  |\n| `Esc`              | Exit incremental search, clearing query                          |\n| `Ctrl-W`           | Delete whole word (in incremental search)                        |\n| `Ctrl-K`           | Delete whole line (in incremental search)                        |\n\n## Screencast\n\n[![asciicast](https://asciinema.org/a/272994.svg)](https://asciinema.org/a/272994)\n\n## Installation\n\nLoad like any other normal plugin, e.g.:, with use of\n[Turbo mode](https://zdharma-continuum.github.io/zinit/wiki/INTRODUCTION/#turbo_mode_zsh_62_53) and the\n[for-syntax](https://zdharma-continuum.github.io/zinit/wiki/For-Syntax/):\n\n```zsh\nzinit wait lucid for zinit-zsh/zinit-console\n```\n\nThe plugin needs `zsh/curses` Zsh module. You can check if it's available to your Zsh by executing:\n\n```zsh\nzmodload zsh/curses\n```\n\nIf the call will return an error, then the `zsh/curses` module isn't available.\n\n### Solving The Lack Of `zsh/curses` Module With Zinit\n\nYou can build the `zsh/curses`-equipped Zshell with Zinit by the following command:\n\n```zsh\nzinit ice id-as\"zsh\" atclone\"./.preconfig\n        CFLAGS='-I/usr/include -I/usr/local/include -g -O2 -Wall' \\\n        LDFLAGS='-L/usr/lib -L/usr/local/lib' ./configure --prefix='$ZPFX'\" \\\n    atpull\"%atclone\" run-atpull make\"install\" pick\"/dev/null\"\nzinit load zsh-users/zsh\n```\n\nThe command will build a custom `zsh` and install it under `$ZPFX` (`~/.zinit/polaris` by default). The path `$ZPFX/bin`\nis already added to `$PATH` by Zinit at first position, so starting `zsh` will run the new Zshell.\n\nWhen on Gentoo, and possibly other systems, the `zsh` can still not have the ncurses library linked. To address this,\nutilize the [z-a-patch-dl](https://github.com/zinit-zsh/z-a-patch-dl) annex and automatically patch the source first:\n\n```zsh\nzinit light zinit-zsh/z-a-patch-dl\nzinit ice id-as\"zsh\" atclone\"./.preconfig\n        CFLAGS='-I/usr/include -I/usr/local/include -g -O2 -Wall' \\\n        LDFLAGS='-L/usr/lib -L/usr/local/lib' ./configure --prefix='$ZPFX'\" \\\n    dl\"https://gist.githubusercontent.com/psprint/2373494c71cb6d1529344a2ed1a64b03/raw -\u003e curses.patch\" \\\n    patch'curses.patch' atpull\"%atclone\" reset \\\n    run-atpull make\"install\" pick\"/dev/null\"\nzinit load zsh-users/zsh\n```\n\nThen, to update, rebuild and reinstall the `zsh`, you can do `zinit update zsh`. The binary can be safely copied over\n`/bin/zsh` as it has paths to all needed directories built-in.\n\n\u003c!-- vim:set ft=markdown tw=80 fo+=an1 autoindent: --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzinit-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdharma-continuum%2Fzinit-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzinit-console/lists"}