{"id":17512127,"url":"https://github.com/42LM/backbone-zsh-prompt","last_synced_at":"2025-03-05T17:32:22.497Z","repository":{"id":168053241,"uuid":"619199651","full_name":"42LM/backbone-zsh-prompt","owner":"42LM","description":"BB 🦴 -- backbone zsh prompt -- git","archived":false,"fork":false,"pushed_at":"2024-10-12T08:31:45.000Z","size":126,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-13T00:44:15.669Z","etag":null,"topics":["backbone","bash","color","customize","git","macos","minimal","prompt","shell","warp","warp-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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/42LM.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":"2023-03-26T15:04:54.000Z","updated_at":"2024-10-12T08:31:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"62b1277d-bf2f-4d20-bb7f-4ada2618c914","html_url":"https://github.com/42LM/backbone-zsh-prompt","commit_stats":null,"previous_names":["lmllrjr/backbone-zsh-prompt"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fbackbone-zsh-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fbackbone-zsh-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fbackbone-zsh-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fbackbone-zsh-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42LM","download_url":"https://codeload.github.com/42LM/backbone-zsh-prompt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":220691467,"owners_count":16688710,"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":["backbone","bash","color","customize","git","macos","minimal","prompt","shell","warp","warp-prompt","zsh","zsh-prompt"],"created_at":"2024-10-20T06:00:37.357Z","updated_at":"2025-03-05T17:32:22.472Z","avatar_url":"https://github.com/42LM.png","language":"Shell","funding_links":[],"categories":["Themes","Recently Updated"],"sub_categories":["ZSH on Windows","[Oct 19, 2024](/content/2024/10/19/README.md)"],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/94e51ff1-3278-4cc5-83cf-9e1d31ece3e3\" width=\"800\"\u003e\u003c/p\u003e\n\u003cp align=\"right\"\u003e\u003csub\u003e* screenshot taken in \u003ca href=\"https://github.com/warpdotdev/Warp\"\u003ewarp\u003c/a\u003e terminal\u003c/sub\u003e\u003c/p\u003e \n\u003ch1 align=\"center\"\u003eBB 🦴 -- backbone zsh prompt -- git\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA bare minimum single file prompt, fast as a roadrunner MEEP! MEEP! 💨 ...\u003c/p\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\n\nBackBone is a prompt with the bare minimum needed for a working zsh prompt that tracks git changes.  \nBB[^1] is ~a blazingly fast~ the roadrunner of the prompts! Be prepared for some [Meep! Meep! Moments](https://youtu.be/Hd2JgADY9d8).\n\nI was in need of a super simple minimal prompt that fulfills my needs. It has to be fast, easy to setup, a single file and have git support with minimal features. Furthermore i ended up building this one.\n\nIf you are like me and just looking for a prompt that is _\"not more than the bare minimum needed\"_  \n**-- Stop looking!**\n\n## Table of Contents\n* [Quickstart](#quickstart)\n* [Explanation of elements](#explanation-of-elements)\n* [Colorization options](#colorization-options--settings)\n* [Example config](#example-config)\n\n## Quickstart\n### Clone the repository:\nClone the repository into `~/.config/zsh`:\n```zsh\ngit clone git@github.com:lmllrjr/backbone-zsh-prompt.git ~/.config/zsh/backbone-zsh-prompt\n```\n\n### Load the prompt in `.zshrc` file:\nCopy the following lines into your `.zshrc` file:\n```zsh\n# only load prompt if the `bb.zsh` file exists\n[ -f $HOME/.config/zsh/backbone-zsh-prompt/bb.zsh ] \u0026\u0026 \\\nsource $HOME/.config/zsh/backbone-zsh-prompt/bb.zsh\n```\n\n\u003e [!TIP]\n\u003e More installation options can be found on the BB Wiki [Install](https://github.com/lmllrjr/backbone-zsh-prompt/wiki/Install) page.\n\n## Explanation of elements\n![](https://i.imgur.com/AOMkFAN.png)\n\n## Colorization options / settings\n| Option                  | Description                              | Default value    | Type    |\n|-------------------------|------------------------------------------|------------------|---------|\n| BB_PROMPT_DIR           | The working directory                    | `\"13\"` ![#6c71c4](https://via.placeholder.com/15/6c71c4/6c71c4.png) | string  |\n| BB_PROMPT_GIT           | The shown VCS in use (`git:()`)          | `\"10\"` ![#586e75](https://via.placeholder.com/15/586e75/586e75.png) | string  |\n| BB_PROMPT_BRANCH        | The git branch name                      | `\"1\"`  ![#dc322f](https://via.placeholder.com/15/dc322f/dc322f.png) | string  |\n| BB_PROMPT_ACTION        | The git actions rebase/merge             | `\"3\"`  ![#b58900](https://via.placeholder.com/15/b58900/b58900.png) | string  |\n| BB_PROMPT_AHEAD_BEHIND  | The ahead and behind arrows + counters   | `\"4\"`  ![#2aa198](https://via.placeholder.com/15/2aa198/2aa198.png) | string  |\n| BB_PROMPT_COUNT         | Changed file count on branch             | `\"14\"` ![#93a1a1](https://via.placeholder.com/15/93a1a1/93a1a1.png) | string  |\n|                         |                                          |                  |         |\n| BB_PROMPT_TAG           | The git tag color (If not empty the git tag is active) | `\"\"`  | string  |\n| BB_PROMPT_CLOCK         | The clock (If not empty the clock is active)           | `\"\"`  | string  |\n|                         |                                          |                  |         |\n| BB_PROMPT_PROJECTS_PATH | The path of the project folder           | `\"${HOME}/code\"` | string  |\n| BB_PROMPT_PROJECTS      | Turn the project folder option on or off | `true`           | bool    |\n| BB_PROMPT_SIGN          | Set the character of the prompt          | `\"%\"`            | string  |\n\n\u003e [!TIP]\n\u003e More information on the [Projects Path](https://github.com/lmllrjr/backbone-zsh-prompt/wiki/Projects-Path) can be found in the wiki!\n\n## Example config\nJust set the variables in your `.zshrc` file.\n\n\u003e [!IMPORTANT]    \n\u003e Make sure to set the vars before actually loading the prompt!\n\n### `~/.zshrc`:\n```zsh\n# set vars\nexport BB_PROMPT_DIR=6\nexport BB_PROMPT_GIT=\"#EEEEEE\"\nexport BB_PROMPT_TAG=\"blue\"\nexport BB_PROMPT_PROJECTS_PATH=\"${HOME}/my/projects/path\"\nexport BB_PROMPT_PROJECTS=false\nexport BB_PROMPT_SIGN=\"$\"\n\n# only load prompt if the `bb.zsh` file exists\n[ -f $HOME/.config/zsh/backbone-zsh-prompt/bb.zsh ] \u0026\u0026 \\\nsource $HOME/.config/zsh/backbone-zsh-prompt/bb.zsh\n```\n\n\u003e [!NOTE]  \n\u003e If you want a fully-fledged prompt you should use one of the more sophisticated projects around github.  \n\u003e E.g. [Pure](https://github.com/sindresorhus/pure) ❤️.\n\n\n[^1]: BackBone zsh prompt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42LM%2Fbackbone-zsh-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42LM%2Fbackbone-zsh-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42LM%2Fbackbone-zsh-prompt/lists"}