{"id":15749608,"url":"https://github.com/ksxgithub/khai-powerlevel9k-config","last_synced_at":"2026-05-03T21:34:56.717Z","repository":{"id":74787177,"uuid":"100128992","full_name":"KSXGitHub/khai-powerlevel9k-config","owner":"KSXGitHub","description":"Khải's own powerlevel9k powerline configuration","archived":false,"fork":false,"pushed_at":"2020-08-15T08:56:36.000Z","size":68,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-12T03:31:38.338Z","etag":null,"topics":["powerlevel9k","powerline","shell","terminal","theme","zsh","zshrc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/KSXGitHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-08-12T17:57:27.000Z","updated_at":"2020-08-15T08:56:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8b13262-5474-478b-bdc5-6ad47ab3c599","html_url":"https://github.com/KSXGitHub/khai-powerlevel9k-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KSXGitHub/khai-powerlevel9k-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fkhai-powerlevel9k-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fkhai-powerlevel9k-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fkhai-powerlevel9k-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fkhai-powerlevel9k-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KSXGitHub","download_url":"https://codeload.github.com/KSXGitHub/khai-powerlevel9k-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fkhai-powerlevel9k-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["powerlevel9k","powerline","shell","terminal","theme","zsh","zshrc"],"created_at":"2024-10-04T06:03:51.253Z","updated_at":"2026-05-03T21:34:56.700Z","avatar_url":"https://github.com/KSXGitHub.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Khải's powerlevel9k configuration\n\n## Preview\n\n![Preview](./img/preview.png)\n\n## Requirements\n\n* Shell: [ZSH](http://www.zsh.org/)\n* ZSH Plugin: [Powerline](https://github.com/powerline/powerline)\n* ZSH Theme: [Powerlevel9k](https://github.com/bhilburn/powerlevel9k.git)\n* Terminal Fonts: [Powerline Nerd Fonts](http://nerdfonts.com/)\n\n## Installation\n\n1. Clone this repo\n2. Add `source $repo/.powerlevel9k.zsh` to your `.zshrc`\n\n## Extra Features\n\n### `custom_nothing`\n\nIt does literally nothing.\n\n### `custom_package_json`\n\nWhen file `package.json` is present, show node/npm/package versions/icons\n\n#### Requirements\n\n* Node.js ≥ 7.0.0\n* NPM (optional)\n\n#### Example\n\n![Preview for `custom_package_json`](./img/preview-package-json.png)\n\n#### Environment Variables\n\n**Enable/Disable:** Their values are `true`, `false` or in version format (`x.y.z`, e.g. `1.2.3`). If `true`, execute to get version number (might be slow in case of npm); If `false`, skip it; If matches version format, show variable's value without execution (might be useful to show npm version without waiting to execute `npm --version`)\n\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_NODEVER`\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_NPMVER`\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_PACKAGEVER`\n\n**Icons:** Specify icons (e.g. ``, ``, ``), set to empty (`''`) to hide them\n\n* `POWERLEVEL9K_NODE_ICON`\n* `POWERLEVEL9K_NPM_ICON`\n* `POWERLEVEL9K_PACKAGE_ICON`\n\n**Format:** How to show segment\n\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_DELIMITER` is delimiter between sub-segments\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_COMPLETE_TEMPLATE` is used for sub-segment when icon is not empty\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_PARTIAL_TEMPLATE` is used for sub-segment when icon is empty\n\n**Location:** How to find `package.json` location\n\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_CHECK_BY_REPO`: If `true`, only consider git repos (directories that has `.git`) to be possible candidates, otherwise, accept all folders\n* `POWERLEVEL9K_CUSTOM_PACKAGE_JSON_CHECK_PARENT`: If set to `inf`, check all parent candidates if current candidate (a.k.a repo/directory which is/contains current working directory) fails. If set to a number `n`, only check `n` parent candidates. If set to `0`, don't check any parent candidate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxgithub%2Fkhai-powerlevel9k-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksxgithub%2Fkhai-powerlevel9k-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxgithub%2Fkhai-powerlevel9k-config/lists"}