{"id":13870137,"url":"https://github.com/BrandonRoehl/zsh-clean","last_synced_at":"2025-07-15T20:31:31.189Z","repository":{"id":132401809,"uuid":"99744240","full_name":"BrandonRoehl/zsh-clean","owner":"BrandonRoehl","description":"Minimal customizable ZSH theme","archived":false,"fork":false,"pushed_at":"2019-01-18T13:59:17.000Z","size":414,"stargazers_count":29,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-06T21:23:27.124Z","etag":null,"topics":["zsh"],"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/BrandonRoehl.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":"2017-08-08T23:16:38.000Z","updated_at":"2023-10-05T14:46:29.000Z","dependencies_parsed_at":"2024-01-03T04:30:02.231Z","dependency_job_id":null,"html_url":"https://github.com/BrandonRoehl/zsh-clean","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/BrandonRoehl%2Fzsh-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrandonRoehl%2Fzsh-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrandonRoehl%2Fzsh-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrandonRoehl%2Fzsh-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrandonRoehl","download_url":"https://codeload.github.com/BrandonRoehl/zsh-clean/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226068231,"owners_count":17568722,"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":["zsh"],"created_at":"2024-08-05T20:01:31.193Z","updated_at":"2024-11-23T16:31:11.434Z","avatar_url":"https://github.com/BrandonRoehl.png","language":"Shell","funding_links":[],"categories":["Themes","Shell"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"# zsh-clean\n![Showcase](_README/img.png?raw=true)\n\nA [pure](https://github.com/sindresorhus/pure) varient however.\n\nClean is not pure and pure is not clean\n\n## Installation\n\nNow integrates directly with [zsh prompt](https://github.com/zsh-users/zsh/blob/627c91357c29e6fbe8b32d1b5f17f02d555d8360/Functions/Prompts/promptinit#L200)\n\n1. Add to your this repo to your `fpath`\n2. Select your theme with `prompt clean`\n\n### [antigen](https://github.com/zsh-users/antigen)\n\n```zsh\nantigen bundle BrandonRoehl/zsh-clean\n# defaults to executing `prompt clean` or `prompt clean 256`\n# based on your terminal\n```\n\n### zsh stock\n\n```zsh\nautoload -U promptinit\nfpath=($prompt_themes /path/to/repo)\npromptinit\n\nprompt clean # for Xterm\nprompt clean 256 # for Xterm 256\n```\n\n## Configuration\n\nAdd styles to your `.zshrc` these are the defaults\n\n```zsh\n\n## Checking vcs\n# Global vcs_info\n# Check if there are modifications and staged changes\nzstyle ':vcs_info:*' get-revision true\n# Clean only\n# Check for untracked files\nzstyle ':vcs_info:*' check-for-untracked true\n# Check for prompt arrows up and down\nzstyle ':vcs_info:*' check-head true\n\n## Symbols\n# Modified sym\nzstyle ':vcs_info:*' unstagedstr '*'\n# Staged sym\nzstyle ':vcs_info:*' stagedstr '+'\n# Untracked sym\nzstyle ':vcs_info:*:clean:*' untrackedstr '.'\n# Your head is behind remote\nzstyle ':vcs_info:*:clean:*' headbehindstr '⇣'\n# Your head is ahead remote\nzstyle ':vcs_info:*:clean:*' headaheadstr '⇡'\n# Prompt symbol\nzstyle ':clean:normal:*' prompt-symbol '❯'\n# Prompt symbol as root user\nzstyle ':clean:root:*' prompt-symbol '#'\n\n# Note that the * can be replaced with the vcs\n# Example these are the symbols that will be used in a git repo\nzstyle ':vcs_info:git:*' unstagedstr 'G*'\nzstyle ':vcs_info:git:*' stagedstr 'G+'\nzstyle ':vcs_info:git:clean:*' untrackedstr 'G.'\n# only works with the vcs_info ones matching :vcs_info:svn:context:-all-\n```\n\n## Goals\n\nPure's main goal is to produce a really minimalistic setup and nothing\nin the prompt.\n\nWhile as in clean's main goal is to produce a clean code base with no\ndependencies as well as supporting tons of customization.\n\nSo customizing the prompt to be supper crazy and over the top complicated\nOr be a single line\n\n## Differences\n\n| Pure | Clean |\n|------|-------|\n| Requires Dependencies for async | Async prompt replacement without |\n| Isn't customizable | Can completly replace the prompt |\n| Custom methods for vcs | Uses `vcs_info` hooks |\n| Doesn't show breakdown of vcs | Shows the breakdown like most other git prompts |\n| Only works with git | Works with `git` `hg` `svn` and all others that `vcs_info` supports |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrandonRoehl%2Fzsh-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBrandonRoehl%2Fzsh-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrandonRoehl%2Fzsh-clean/lists"}