{"id":22064336,"url":"https://github.com/zimfw/gitster","last_synced_at":"2025-04-13T12:13:00.187Z","repository":{"id":108622426,"uuid":"163327721","full_name":"zimfw/gitster","owner":"zimfw","description":"A fork of shashankmehta's gitster prompt theme.","archived":false,"fork":false,"pushed_at":"2024-01-17T17:39:28.000Z","size":18,"stargazers_count":6,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T12:12:53.825Z","etag":null,"topics":["gitster","prompt","theme","zim","zimfw","zsh","zsh-plugin","zsh-plugins","zsh-prompt","zsh-theme"],"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/zimfw.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":"2018-12-27T19:06:24.000Z","updated_at":"2025-02-01T17:26:45.000Z","dependencies_parsed_at":"2023-03-25T20:33:49.082Z","dependency_job_id":null,"html_url":"https://github.com/zimfw/gitster","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/zimfw%2Fgitster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Fgitster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Fgitster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Fgitster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimfw","download_url":"https://codeload.github.com/zimfw/gitster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710448,"owners_count":21149191,"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":["gitster","prompt","theme","zim","zimfw","zsh","zsh-plugin","zsh-plugins","zsh-prompt","zsh-theme"],"created_at":"2024-11-30T19:04:08.339Z","updated_at":"2025-04-13T12:13:00.159Z","avatar_url":"https://github.com/zimfw.png","language":"Shell","readme":"gitster\n=======\n\nA fork of shashankmehta's [gitster] theme.\n\n\u003cimg width=\"706\" src=\"https://zimfw.github.io/images/prompts/gitster@2.png\"\u003e\n\nWhat does it show?\n------------------\n\n  * Red `➜` when last command failed, green otherwise.\n  * Current working directory, relative to the git root when in a git repo.\n  * Current git branch name, or commit short hash when in ['detached HEAD' state].\n  * Yellow `✗` when in a dirty git working tree, green `✓` when in a clean one.\n\nAdvanced settings\n-----------------\n\nYou can customize how the current working directory is shown with the\n[prompt-pwd module settings].\n\nThe git indicators can be customized by changing the following git-info module\ncontext formats:\n\n| Context name | Description       | Default format      |\n| ------------ | ----------------- | ------------------- |\n| branch       | Branch name       | `%b`                |\n| commit       | Commit short hash | `%c`                |\n| clean        | Clean state       | `%F{green}%{%G✓%}`  |\n| dirty        | Dirty state       | `%F{yellow}%{%G✗%}` |\n\nUse the following command to override a git-info context format:\n\n    zstyle ':zim:git-info:\u003ccontext_name\u003e' format '\u003cnew_format\u003e'\n\nFor detailed information about these and other git-info settings, check the\n[git-info documentation].\n\nThese advanced settings must be overridden after the theme is initialized.\n\nRequirements\n------------\n\nRequires Zim's [prompt-pwd] module to show the current working directory, and\n[git-info] to show git information.\n\n[gitster]: https://github.com/shashankmehta/dotfiles/blob/master/thesetup/zsh/.oh-my-zsh/custom/themes/gitster.zsh-theme\n['detached HEAD' state]: https://git-scm.com/docs/git-checkout#_detached_head\n[prompt-pwd module settings]: https://github.com/zimfw/prompt-pwd/blob/master/README.md#settings\n[git-info documentation]: https://github.com/zimfw/git-info/blob/master/README.md#settings\n[prompt-pwd]: https://github.com/zimfw/prompt-pwd\n[git-info]: https://github.com/zimfw/git-info\n","funding_links":[],"categories":["Themes","Plugins","Shell"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimfw%2Fgitster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimfw%2Fgitster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimfw%2Fgitster/lists"}