{"id":13344200,"url":"https://github.com/deathlyfrantic/git-status-prompt","last_synced_at":"2025-03-12T07:31:58.524Z","repository":{"id":101858060,"uuid":"83489576","full_name":"deathlyfrantic/git-status-prompt","owner":"deathlyfrantic","description":"A Git status widget for your zsh prompt, written in C","archived":true,"fork":false,"pushed_at":"2023-03-07T12:40:43.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-24T18:33:13.991Z","etag":null,"topics":["c","git","prompt","status","zsh"],"latest_commit_sha":null,"homepage":null,"language":"C","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/deathlyfrantic.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":"2017-02-28T23:25:41.000Z","updated_at":"2023-03-07T12:41:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e58e459-ed4d-4e89-b05e-69f7fa925e2f","html_url":"https://github.com/deathlyfrantic/git-status-prompt","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/deathlyfrantic%2Fgit-status-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathlyfrantic%2Fgit-status-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathlyfrantic%2Fgit-status-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathlyfrantic%2Fgit-status-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deathlyfrantic","download_url":"https://codeload.github.com/deathlyfrantic/git-status-prompt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243178208,"owners_count":20249065,"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":["c","git","prompt","status","zsh"],"created_at":"2024-07-29T19:32:53.108Z","updated_at":"2025-03-12T07:31:58.509Z","avatar_url":"https://github.com/deathlyfrantic.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Git Super Status II Turbo: Hyper Fighting\n\nA blatant rip-off of [Git Super Status](https://github.com/olivierverdier/zsh-git-prompt), but written in C, using\n[libgit2](https://libgit2.github.com/).\n\nThis version aims to replicate the output of the former (nearly\\*) exactly, but be a _bit_ faster at doing it. My\n**ultra-scientific** testing shows this version is a little over 3x as fast. When you want to display your git repo\nstatus in your prompt, every microsecond matters.\n\n\\* this version shows the number of untracked files, whereas the original simply shows _whether_ there are untracked\nfiles.\n\n### What does it look like\n\nWith the default configuration, generally something like this:\n\n![example output](https://cloud.githubusercontent.com/assets/7629614/23442178/0010a820-fdf5-11e6-9144-a52c8d514478.png)\n\n### Configuration\n\nHave a look at the configuration section in `gitprompt.c` and define the macros to be whatever you like. They're\ncurrently set up to defaults I find pleasant. Note the color definitions are zsh-specific but I'm sure they can be\nmodified to work in Bash or Fish or whatever.\n\n### How to use\n\n0. Install libgit2 if you don't already have it.\n1. Clone this repo. \n2. `make`\n3. Ensure you have the zsh `prompt_subst` option on (`setopt prompt_subst` in your `zshrc`).\n4. Add `RPROMPT='${$(/path/to/git_status_prompt)}'` to your `zshrc`. I like putting it in my `RPROMPT` but you could add\n   it to `PROMPT` instead.\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeathlyfrantic%2Fgit-status-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeathlyfrantic%2Fgit-status-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeathlyfrantic%2Fgit-status-prompt/lists"}