{"id":14982880,"url":"https://github.com/philippmolitor/abbr-zsh-theme","last_synced_at":"2026-02-04T10:49:27.770Z","repository":{"id":124352397,"uuid":"154217897","full_name":"PhilippMolitor/abbr-zsh-theme","owner":"PhilippMolitor","description":"A fast and simple ZSH theme with abbreviated expressions and sane information.","archived":false,"fork":false,"pushed_at":"2019-03-06T09:34:22.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-06T06:04:28.380Z","etag":null,"topics":["oh-my-zsh","oh-my-zsh-theme","prompt","zsh","zsh-prompt","zsh-theme","zshell","zshrc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhilippMolitor.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-10-22T21:14:02.000Z","updated_at":"2025-01-17T01:59:55.000Z","dependencies_parsed_at":"2024-01-03T04:30:00.068Z","dependency_job_id":null,"html_url":"https://github.com/PhilippMolitor/abbr-zsh-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhilippMolitor/abbr-zsh-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippMolitor%2Fabbr-zsh-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippMolitor%2Fabbr-zsh-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippMolitor%2Fabbr-zsh-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippMolitor%2Fabbr-zsh-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhilippMolitor","download_url":"https://codeload.github.com/PhilippMolitor/abbr-zsh-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippMolitor%2Fabbr-zsh-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263166817,"owners_count":23424250,"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":["oh-my-zsh","oh-my-zsh-theme","prompt","zsh","zsh-prompt","zsh-theme","zshell","zshrc"],"created_at":"2024-09-24T14:06:20.929Z","updated_at":"2026-02-04T10:49:27.684Z","avatar_url":"https://github.com/PhilippMolitor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ABBR ZSH theme\n\n### Screenshots\n![Screenshot](./screenshots/01.jpg)\n\n\n### Information\nIf you like the theme, or even better, you are using it, please consider giving\nthis repository a star to let me know! :smiley:\u003cbr\u003e\nAlso, if you have got any improvements to the theme, feel free to send a pull request!\n\n\n### Segments\n* Exit code (tick on 0, else exit code) with colorization\n* hostname/username\n* Abbreviated PWD\n* $ or # (privilege)\n\n\n### Badges\n* Python (works with `virtualenv`, `venv` and `Pipenv` shell)\n* Rust version (detects Cargo.toml)\n* Git status (branch name, untracked, dirty)\n\n\n### Variables\n|Variable                        |Default  |\n|--------------------------------|---------|\n|ABBR_BADGE_PYTHON_PREFIX        |`empty`  |\n|ABBR_BADGE_RUST_PREFIX          |`empty`  |\n|ABBR_BADGE_GIT_PREFIX           |`\\u00b1` |\n|ABBR_BADGE_GIT_UNTRACKED_SYMBOL |?        |\n|ABBR_BADGE_GIT_DIRTY_SYMBOL     |!        |\n\n\n### Colors\nYou can change the prompt colors by changing these variables in your `.zshrc`.\n\n|Variable                    |Default          |\n|----------------------------|-----------------|\n|ABBR_FG_RETVAL_GOOD         |white            |\n|ABBR_BG_RETVAL_GOOD         |green            |\n|ABBR_FG_RETVAL_BAD          |yellow           |\n|ABBR_BG_RETVAL_BAD          |black            |\n|ABBR_FG_LOGON               |black            |\n|ABBR_BG_LOGON               |cyan             |\n|ABBR_FG_PWD                 |white            |\n|ABBR_BG_PWD                 |none             |\n|ABBR_FG_PROMPT_ROOT         |red              |\n|ABBR_BG_PROMPT_ROOT         |none             |\n|ABBR_FG_PROMPT_DEFAULT      |`$ABBR_BG_LOGON` |\n|ABBR_BG_PROMPT_DEFAULT      |none             |\n|ABBR_FG_BADGE_PYTHON        |blue             |\n|ABBR_BG_BADGE_PYTHON        |yellow           |\n|ABBR_FG_BADGE_RUST          |white            |\n|ABBR_BG_BADGE_RUST          |blue             |\n|ABBR_FG_BADGE_GIT           |yellow           |\n|ABBR_BG_BADGE_GIT           |black            |\n|ABBR_FG_BADGE_GIT_UNTRACKED |red              |\n|ABBR_FG_BADGE_GIT_DIRTY     |red              |\n\n\n\n### How does the path abbreviation work?\nBasically, similar to the one you find in `vim`.\nEvery path inside the home directory will start with `~` rather than the absolute path.\nEach directory in the current PWD will be shortened to one character,\nexecept it starts with a `.`, then, two characters will be displayed.\nThe current folder will not be abbreviated.\n\nExamples (username is phil):\n* `/home/phil` -\u003e `~`\n* `/home/phil/test/abc` -\u003e `~/t/abc`\n* `/home/phil/.local/share/nano` -\u003e `~/.l/s/nano`\n* `/home/phil_butnotphil/test` -\u003e `/h/p/test`\n* `/home/linus` -\u003e `/h/linus`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippmolitor%2Fabbr-zsh-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilippmolitor%2Fabbr-zsh-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippmolitor%2Fabbr-zsh-theme/lists"}