{"id":16689870,"url":"https://github.com/eddieantonio/gitbash-zsh-theme","last_synced_at":"2025-12-30T00:06:19.981Z","repository":{"id":68092935,"uuid":"548595388","full_name":"eddieantonio/gitbash-zsh-theme","owner":"eddieantonio","description":"A zsh prompt theme that mimics git bash.","archived":false,"fork":false,"pushed_at":"2022-10-11T08:50:02.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-17T21:43:55.807Z","etag":null,"topics":["git-bash","hacktoberfest","prompt","zsh","zsh-prompt"],"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/eddieantonio.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":"2022-10-09T22:03:51.000Z","updated_at":"2024-12-05T19:10:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba27076c-3016-4daa-8fdf-52bcf75a757a","html_url":"https://github.com/eddieantonio/gitbash-zsh-theme","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/eddieantonio%2Fgitbash-zsh-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddieantonio%2Fgitbash-zsh-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddieantonio%2Fgitbash-zsh-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddieantonio%2Fgitbash-zsh-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddieantonio","download_url":"https://codeload.github.com/eddieantonio/gitbash-zsh-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243467025,"owners_count":20295309,"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":["git-bash","hacktoberfest","prompt","zsh","zsh-prompt"],"created_at":"2024-10-12T15:49:38.272Z","updated_at":"2025-12-30T00:06:19.949Z","avatar_url":"https://github.com/eddieantonio.png","language":"Shell","readme":"# gitbash theme for zsh\n\nA zsh prompt theme that mimics the default prompt from [Git for Windows][gitwindows].\n\n![An uncanny recreation of git bash's default theme on Windows, complete with the inexplicable “MINGW64” string](./gitbash-terminal.app-screenshot.png)\n\n[gitwindows]: https://gitforwindows.org/\n\n# Quick setup\n\n1. Clone this repo somewhere, for example `~/repos/gitbash-zsh-theme`.\n2. Add the following to your `~/.zshrc`:\n\n```zsh\nfpath=(~/repos/gitbash-zsh-theme/functions $fpath)\nautoload -U promptinit\npromptinit\nprompt gitbash\n```\n\nReplace `~/repos/gitbash-zsh-theme` with wherever you cloned this repo.\n\n# Customization\n\nLove git bash, but hate `MINGW64`? Well, lucky for you, you can change\nit to whatever you want. `prompt gitbash` takes one argument, which\nallows customizes this string:\n\n```zsh\nprompt gitbash 'Your string here!'\n```\n\n# Full installation instructions\n\nThis prompt is built using zsh's awesome [prompt theme system][prompt].\nThere's a few things that the prompt theme system needs:\n\nFirst, a file called `prompt_$THEME_setup` to be somewhere on your\n[`$fpath`][fpath]. You can either copy `functions/prompt_gitbash_setup`\nto a directory on your current `$fpath` (Protip! Check which directories\nare on your `$fpath`  with `typeset -p fpath`) or append this repo's\n`functions` dir to your `$fpath` (recommended).\n\nThen you need to initialize the prompt system:\n\n```zsh\nautoload -U promptinit\npromptinit\n```\n\nFinally, you can use the `prompt` command to choose any prompt in your\n`$fpath`. You can list all the prompts available with:\n\n```zsh\nprompt -l\n```\n\nYou can preview prompts with:\n\n```zsh\nprompt -p $THEME\n```\n\nOr preview all prompts with:\n\n```zsh\nprompt -p\n```\n\nYou can even change themes during sessions:\n\n```zsh\nprompt gitbash\nprompt restore\n```\n\n[prompt]: https://zsh.sourceforge.io/Doc/Release/User-Contributions.html#Prompt-Themes\n[fpath]: https://zsh.sourceforge.io/Doc/Release/Functions.html#index-autoloading-functions\n\n# Inspiration\n\nI used the file from the Git for Windows installation, namely, [git-prompt.sh].\n\n[git-prompt.sh]: https://github.com/git-for-windows/git-sdk-64/blob/main/etc/profile.d/git-prompt.sh\n\n# License\n\n© 2022 Eddie Antonio Santos. MIT licensed.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddieantonio%2Fgitbash-zsh-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddieantonio%2Fgitbash-zsh-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddieantonio%2Fgitbash-zsh-theme/lists"}