{"id":19894564,"url":"https://github.com/khuei/winline","last_synced_at":"2026-05-13T23:33:55.349Z","repository":{"id":144519918,"uuid":"356308286","full_name":"khuei/winline","owner":"khuei","description":"asyncify version of @wincent's zsh prompt","archived":false,"fork":false,"pushed_at":"2024-09-24T15:57:00.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T05:41:35.094Z","etag":null,"topics":["async","zsh","zsh-plugin","zsh-promp"],"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/khuei.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-09T14:59:48.000Z","updated_at":"2024-09-24T15:57:04.000Z","dependencies_parsed_at":"2025-03-01T05:51:38.445Z","dependency_job_id":null,"html_url":"https://github.com/khuei/winline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khuei/winline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuei%2Fwinline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuei%2Fwinline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuei%2Fwinline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuei%2Fwinline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khuei","download_url":"https://codeload.github.com/khuei/winline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuei%2Fwinline/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265616990,"owners_count":23798939,"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":["async","zsh","zsh-plugin","zsh-promp"],"created_at":"2024-11-12T18:33:52.556Z","updated_at":"2025-10-19T01:43:43.781Z","avatar_url":"https://github.com/khuei.png","language":"Shell","funding_links":[],"categories":["Themes"],"sub_categories":["ZSH on Windows"],"readme":"# winline\n\nAsyncify version of Greg Hurrell's [zsh prompt](https://github.com/wincent/wincent/blob/master/aspects/dotfiles/files/.zshrc)\n\n## Feature\n\n\u003e taken from https://github.com/wincent/wincent/blob/master/README.md#prompt\n\n![](./media/prompt.png)\n\nVisible here are:\n\n- Concise left-hand prompt consisting of:\n  -   Last component of current directory (abbreviates `$HOME` to `~` if possible).\n  -   Prompt marker, `❯`, the \"[HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT](https://codepoints.net/U+276F)\" (that's `\\u276f`, or `e2 9d af` in UTF-8).\n- Extended right-hand size prompt which auto-hides when necessary to make room for long commands and contains:\n  - Duration of previous command in adaptive units (seconds, minutes, hours, days, depending on duration).\n  - An async git prompt consists of:\n    - Current version control branch name.\n    - Current version control worktree status using colors that match those used in `git status`:\n      -   Green dot indicates staged changes.\n      -   Red dot indicates unstaged changes.\n      -   Blue dot indicates untracked files.\n  - Full version of current working directory (again, abbreviating `$HOME` to `~`).\n\n\nNested shells are indicated with additional prompt characters. For example, one nested shell:\n\n![](./media/prompt-shlvl-2.png)\n\nTwo nested shells:\n\n![](./media/prompt-shlvl-3.png)\n\nRoot shells are indicated with a different color prompt character and the word \"root\":\n\n![](./media/prompt-root.png)\n\nNesting within a root shell is indicated like this:\n\n![](./media/prompt-root-shlvl-2.png)\n\nTwo nested shells:\n\n![](./media/prompt-root-shlvl-3.png)\n\nIf the last command exited with a non-zero status (usually indicative of an error), a yellow exclamation is shown:\n\n![](./media/prompt-error.png)\n\nIf there are background processes, a yellow asterisk is shown:\n\n![](./media/prompt-bg.png)\n\n## Why\n\n- Async is great for working with large repository (ex: https://github.com/gentoo/gentoo)\n\n## Installation\n\n1. Clone this repository\n``` sh\n$ git clone https://github.com/khuei/winline.git\n```\n\n2. Add the repository to `$fpath` in `.zshrc`\n``` sh\nfpath+=/path/to/winline\n```\n\n3. source either `winline.zsh` or `winline.plugin.zsh` in `.zshrc`\n``` sh\n. /path/to/winline.zsh\n\n# or\n\n. /path/to/winline.plugin.zsh\n```\n\n## Fallback\n\nThis prompt is heavily tailored to my needs so it is not very customizable\ncompare to other mainstream zsh prompts such as:\n- https://github.com/sindresorhus/pure\n- https://github.com/starship/starship\n- https://github.com/romkatv/powerlevel10k\n\nTherefore, it is highly encourage that you use either one of the above or a\ndifferent prompt if you want more granular customization or advance feature.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhuei%2Fwinline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhuei%2Fwinline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhuei%2Fwinline/lists"}