{"id":29141010,"url":"https://github.com/shollingsworth/ps1","last_synced_at":"2025-06-30T18:02:27.004Z","repository":{"id":57455255,"uuid":"405748753","full_name":"shollingsworth/ps1","owner":"shollingsworth","description":"PS1 Bash Prompt Builder","archived":false,"fork":false,"pushed_at":"2021-09-14T15:26:14.000Z","size":741,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T19:14:40.428Z","etag":null,"topics":["bash","ps1"],"latest_commit_sha":null,"homepage":"https://shollingsworth.github.io/ps1/","language":"Python","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/shollingsworth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-12T20:40:58.000Z","updated_at":"2024-04-10T17:48:55.000Z","dependencies_parsed_at":"2022-09-10T00:40:26.723Z","dependency_job_id":null,"html_url":"https://github.com/shollingsworth/ps1","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/shollingsworth/ps1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shollingsworth%2Fps1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shollingsworth%2Fps1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shollingsworth%2Fps1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shollingsworth%2Fps1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shollingsworth","download_url":"https://codeload.github.com/shollingsworth/ps1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shollingsworth%2Fps1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262788710,"owners_count":23364396,"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":["bash","ps1"],"created_at":"2025-06-30T18:01:25.360Z","updated_at":"2025-06-30T18:02:26.944Z","avatar_url":"https://github.com/shollingsworth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![github-issues](https://img.shields.io/github/issues/shollingsworth/ps1?style=plastic \"github-issues\")](https://github.com/shollingsworth/ps1/issues) [![github-languages-code-size](https://img.shields.io/github/languages/code-size/shollingsworth/ps1?style=plastic \"github-languages-code-size\")](https://github.com/shollingsworth/ps1) [![github-stars](https://img.shields.io/github/stars/shollingsworth/ps1?style=plastic \"github-stars\")](https://github.com/shollingsworth/ps1/stargazers) [![github-forks](https://img.shields.io/github/forks/shollingsworth/ps1?style=plastic \"github-forks\")](https://github.com/shollingsworth/ps1/network/members) \n\n[![pypi-v](https://img.shields.io/pypi/v/ps1?style=plastic \"pypi-v\")](https://pypi.org/project/ps1) [![pypi-status](https://img.shields.io/pypi/status/ps1?style=plastic \"pypi-status\")](https://pypi.org/project/ps1) [![pypi-l](https://img.shields.io/pypi/l/ps1?style=plastic \"pypi-l\")](https://pypi.org/project/ps1) [![pypi-dm](https://img.shields.io/pypi/dm/ps1?style=plastic \"pypi-dm\")](https://pypi.org/project/ps1) [![pypi-pyversions](https://img.shields.io/pypi/pyversions/ps1?style=plastic \"pypi-pyversions\")](https://pypi.org/project/ps1) [![pypi-implementation](https://img.shields.io/pypi/implementation/ps1?style=plastic \"pypi-implementation\")](https://pypi.org/project/ps1) \n\n# TOC\n* [PS1](#ps1-)\n   * [Installation / Quickstart](#installation---quickstart-)\n   * [License](#license-)\n   * [Other Docs](#other-docs-)\n   * [Examples](#examples-)\n   * [PS1 Command Help](#ps1-command-help-)\n\n\n# PS1 [\u0026#8593;](#toc)\nThis program is meant to take the pain out of generating nice bash PS1 prompts.\n\nPull requests welcome! And if you build an awesome theme, drop something in the [examples](./src/ps1api/examples) folder!\n## Installation / Quickstart [\u0026#8593;](#toc)\nTo install this package from [pypy](https://pypi.org/project/ps1/) run the following command.\n\n\n```\n\npip3 install ps1\n\n```\n\n\nExecute this to make your first prompt\n\n\n```\n\nexport PS1=\"$(ps1 template -t parrot)\"\n\n```\n\n## License [\u0026#8593;](#toc)\nSee: [LICENSE](./LICENSE)\n## Other Docs [\u0026#8593;](#toc)\n* [Api Docs](https://shollingsworth.github.io/ps1/)\n* [Changelog](./CHANGELOG.md)\n## Examples [\u0026#8593;](#toc)\n### [entropy.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/entropy.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]entropy:$(_shentropy)\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;11m\\]\\$ \\[\\e[0m\\]'\n```\n![entropy.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/entropy.sh.png)\n\n\n### [face.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/face.sh)\n```\nexport PS1='\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\360\\237\\230\\235\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;248m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;15m\\]@\\[\\e[0m\\]\\[\\e[38;5;248m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\360\\237\\230\\235\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;238m\\]\\[\\e[1m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;196m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;10m\\]\\$ \\[\\e[0m\\]'\n```\n![face.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/face.sh.png)\n\n\n### [filecount.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/filecount.sh)\n```\nexport PS1='\\[\\e[38;5;10m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;10m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;196m\\]fcnt:$(_fcount)\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;5m\\]fsize:$(_dirfilesize)\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;10m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;247m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;11m\\]@\\[\\e[0m\\]\\[\\e[38;5;12m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\] \\[\\e[38;5;10m\\]\\$ \\[\\e[0m\\]'\n```\n![filecount.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/filecount.sh.png)\n\n\n### [greenguy.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/greenguy.sh)\n```\nexport PS1='\\[\\e[38;5;10m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;247m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;11m\\]@\\[\\e[0m\\]\\[\\e[38;5;12m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;10m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;10m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;10m\\]\\$ \\[\\e[0m\\]'\n```\n![greenguy.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/greenguy.sh.png)\n\n\n### [ips.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/ips.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;2m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]entropy:$(_shentropy)\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]ips:$(_ips)\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;33m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;15m\\]\\$ \\[\\e[0m\\]'\n```\n![ips.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/ips.sh.png)\n\n\n### [nightrider.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/nightrider.sh)\n```\nexport PS1='\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\][\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;2m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;235m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]\\000\\342\\210\\224\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;2m\\]\\d \\t\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;235m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]\\000\\342\\210\\224\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\][\\[\\e[0m\\]jobs:\\[\\e[38;5;196m\\]\\j\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;235m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]\\000\\342\\210\\224\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\][\\[\\e[0m\\]cmd#:\\[\\e[38;5;196m\\]\\#\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\n\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;33m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;241m\\]\\[\\e[48;5;0m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\n\\[\\e[38;5;15m\\]\\$ \\[\\e[0m\\]'\n```\n![nightrider.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/nightrider.sh.png)\n\n\n### [no_unicode.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/no_unicode.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\][\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]x\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]+\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\][\\[\\e[0m\\]entropy:$(_shentropy)\\[\\e[38;5;196m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\][\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]]\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\][\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]]\\[\\e[0m\\]\\n\\[\\e[38;5;11m\\]\\$ \\[\\e[0m\\]'\n```\n![no_unicode.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/no_unicode.sh.png)\n\n\n### [parrot.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/parrot.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;247m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;11m\\]@\\[\\e[0m\\]\\[\\e[38;5;12m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;11m\\]\\$ \\[\\e[0m\\]'\n```\n![parrot.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/parrot.sh.png)\n\n\n### [plainjane.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/plainjane.sh)\n```\nexport PS1='$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"✘/${b_err_code}\" || echo \"✔\") \\w \\$'\n```\n![plainjane.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/plainjane.sh.png)\n\n\n### [purplegoblin.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/purplegoblin.sh)\n```\nexport PS1='\\[\\e[38;5;5m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;5m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;247m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;11m\\]@\\[\\e[0m\\]\\[\\e[38;5;12m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;10m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;5m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;5m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;5m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;10m\\]\\$ \\[\\e[0m\\]'\n```\n![purplegoblin.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/purplegoblin.sh.png)\n\n\n### [skulls.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/skulls.sh)\n```\nexport PS1='\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\360\\237\\222\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;248m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;15m\\]@\\[\\e[0m\\]\\[\\e[38;5;248m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\360\\237\\222\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;238m\\]\\[\\e[1m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;196m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\360\\237\\222\\200\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;0m\\]\\[\\e[48;5;238m\\]rando_str:$(_randstr)\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;15m\\]\\[\\e[1m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;10m\\]\\$ \\[\\e[0m\\]'\n```\n![skulls.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/skulls.sh.png)\n\n\n### [stev0_work.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/stev0_work.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;2m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;244m\\]entropy\\[\\e[0m\\]:$(_shentropy)\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;2m\\]\\d \\t\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;244m\\]jobs\\[\\e[0m\\]:\\[\\e[38;5;196m\\]\\j\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;244m\\]cmd#\\[\\e[0m\\]:\\[\\e[38;5;196m\\]\\#\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;33m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\][\\[\\e[0m\\]\\[\\e[38;5;11m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]]\\[\\e[0m\\]\\n\\[\\e[38;5;15m\\]\\$ \\[\\e[0m\\]'\n```\n![stev0_work.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/stev0_work.sh.png)\n\n\n### [too_many_options.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/dark/too_many_options.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]entropy:$(_shentropy)\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]git:\\[\\e[38;5;10m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]user:\\[\\e[38;5;10m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;247m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;11m\\]@\\[\\e[0m\\]\\[\\e[38;5;12m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]working_dir_basename:\\[\\e[38;5;10m\\]\\W\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]working_dir:\\[\\e[38;5;10m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]bash_ver:\\[\\e[38;5;10m\\]\\v\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]bash_ver_release:\\[\\e[38;5;10m\\]\\V\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]cmd#:\\[\\e[38;5;10m\\]\\#\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]hist:\\[\\e[38;5;10m\\]\\!\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]jobs:\\[\\e[38;5;10m\\]\\j\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]shell:\\[\\e[38;5;10m\\]\\s\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]term:\\[\\e[38;5;10m\\]\\l\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]host:\\[\\e[38;5;10m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]host_long:\\[\\e[38;5;10m\\]\\H\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]date_24hrtime:\\[\\e[38;5;10m\\]\\d \\t\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]date_wmd:\\[\\e[38;5;10m\\]\\d\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]12hr_am_pm:\\[\\e[38;5;10m\\]\\@\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]12hr_am_pm_sec:\\[\\e[38;5;10m\\]\\T\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\260\\[\\e[0m\\]time_24hrs:\\[\\e[38;5;10m\\]\\t\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;11m\\]\\$ \\[\\e[0m\\]'\n```\n![too_many_options.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/dark/too_many_options.sh.png)\n\n\n### [fire_ice.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/light/fire_ice.sh)\n```\nexport PS1='\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;2m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;33m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;0m\\]@\\[\\e[0m\\]\\[\\e[38;5;8m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;33m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[48;5;33m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;196m\\]\\[\\e[1m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;33m\\]\\$ \\[\\e[0m\\]'\n```\n![fire_ice.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/light/fire_ice.sh.png)\n\n\n### [magenta.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/light/magenta.sh)\n```\nexport PS1='\\[\\e[38;5;21m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;21m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;1m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;10m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;21m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;21m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;201m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;21m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;21m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;21m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;201m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;21m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;21m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;8m\\]\\$ \\[\\e[0m\\]'\n```\n![magenta.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/light/magenta.sh.png)\n\n\n### [powderpuff.sh](https://github.com/shollingsworth/ps1/blob/main/src/ps1api/examples/light/powderpuff.sh)\n```\nexport PS1='\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\224\\214\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]$(b_err_code=$?; [[ $b_err_code != 0 ]] \u0026\u0026 echo \"\\[\\e[38;5;196m\\]\\000\\342\\234\\230\\[\\e[0m\\]/${b_err_code}\" || echo \"\\[\\e[38;5;2m\\]\\000\\342\\234\\224\\[\\e[0m\\]\")\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;91m\\]\\u\\[\\e[0m\\]\\[\\e[38;5;206m\\]@\\[\\e[0m\\]\\[\\e[38;5;8m\\]\\h\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\[\\e[38;5;196m\\]\\000\\342\\224\\201\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;91m\\]$(br=$(git branch 2\u003e/dev/null| grep '\"'\"'^\\*'\"'\"' | awk '\"'\"'{print $NF}'\"'\"'); [[ \"${br}\" ]] \u0026\u0026 echo \"${br}\" || echo \"-\")\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\224\\234\\000\\342\\224\\200\\000\\342\\224\\200\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\260\\[\\e[0m\\]\\[\\e[38;5;15m\\]\\[\\e[48;5;91m\\]\\w\\[\\e[0m\\]\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\235\\261\\[\\e[0m\\]\\n\\[\\e[38;5;199m\\]\\[\\e[1m\\]\\000\\342\\224\\224\\000\\342\\224\\200\\000\\342\\225\\274\\[\\e[0m\\] \\[\\e[38;5;91m\\]\\$ \\[\\e[0m\\]'\n```\n![powderpuff.sh](https://raw.githubusercontent.com/shollingsworth/ps1/main/media/light/powderpuff.sh.png)\n\n\n## PS1 Command Help [\u0026#8593;](#toc)\n### Custom\n```\nusage: ps1 custom [-h] [--add_bash_ver color title] [--add_bash_ver_release color title] [--add_cmd_num color title]\n                        [--add_custom value color title] [--add_date_time_24hr color title] [--add_date_week_month_day color title]\n                        [--add_exit_code ok_txt err_txt ok_color err_color title] [--add_git_branch color title]\n                        [--add_hist_num color title] [--add_host color title] [--add_host_long color title] [--add_jobs color title]\n                        [--add_newline] [--add_shell_name color title] [--add_term_base color title]\n                        [--add_time_12hr_am_pm color title] [--add_time_12hr_with_second color title] [--add_time_24 color title]\n                        [--add_user color title] [--add_user_host user_color at_sym_color host_color]\n                        [--add_working_dir_basename color title] [--add_working_directory color title] [--set_delim_color value]\n                        [--set_ends start end] [--set_fancy_lines] [--set_no_color value] [--set_no_ps1_escape]\n                        [--set_prompt_color color] [--set_section_color color] [--set_section_delim delim] [--set_title_color value]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --add_bash_ver color title\n                        Add The version of Bash (e.g., 2.00).\n  --add_bash_ver_release color title\n                        Add The release of Bash, version + patchlevel (e.g., 2.00.0).\n  --add_cmd_num color title\n                        Add Number of commands this terminal has run.\n  --add_custom value color title\n                        Add custom section value/color.\n  --add_date_time_24hr color title\n                        Add the date/time, in 24-hour HH:MM:SS format.\n                        ::\n                            Mon Sep 13 10:28:40\n  --add_date_week_month_day color title\n                        Add Date week month day.\n                        ::\n                            Mon Sep 13\n  --add_exit_code ok_txt err_txt ok_color err_color title\n                        Add Exit code indicator to prompt.\n  --add_git_branch color title\n                        Add git branch to prompt.\n  --add_hist_num color title\n                        Add History count.\n  --add_host color title\n                        Add PS1 host expansion value.\n  --add_host_long color title\n                        Add PS1 host expansion value.\n  --add_jobs color title\n                        Add The number of jobs currently managed by the shell.\n  --add_newline         Insert newline.\n  --add_shell_name color title\n                        Add The name of the shell, the basename of $0 (the portion following the final slash).\n  --add_term_base color title\n                        Add The basename of the shell's terminal device name.\n  --add_time_12hr_am_pm color title\n                        Add The time, in 12-hour am/pm format.\n                        ::\n                            10:28 AM\n  --add_time_12hr_with_second color title\n                        Add The time, in 12-hour HH:MM:SS format.\n                        ::\n                            10:28:40\n  --add_time_24 color title\n                        Add The time, in 24-hour HH:MM:SS format.\n                        ::\n                            10:28:40\n  --add_user color title\n                        Add PS1 user expansion value.\n  --add_user_host user_color at_sym_color host_color\n                        Add User/Host to prompt.\n                        ::\n                            [user@hostname]-[section2]\n                                  ^ add this\n  --add_working_dir_basename color title\n                        Add The basename of $PWD.\n  --add_working_directory color title\n                        Add Working directory to prompt.\n                        ::\n                            [user@hostame]─[~/path/i/am/in]\n                                             ^ add this\n  --set_delim_color value\n                        Set Delimiter color.\n  --set_ends start end  Set Section start / end values.\n                        ::\n                            {}\n                            {section1}-{section2}\n                        \n                            []\n                            [section1]-[section2]\n                        \n                            ❰❱\n                            ❰section1❱-❰section2❱\n  --set_fancy_lines     Set fancy line breaks like the following\n                        ::\n                            ┌───\n                            ├───\n                            └──╼\n  --set_no_color value  Set terminal to no color.\n  --set_no_ps1_escape   For prompt debugging, set an option to not escape the unicode and non-printable chars.\n  --set_prompt_color color\n                        Set prompt color.\n                        ::\n                            i.e. $ or # depending on user\n  --set_section_color color\n                        Set default section color.\n  --set_section_delim delim\n                        Set section separator.\n                        ::\n                            i.e. [section1]-[section2]\n                                           ^ separator\n  --set_title_color value\n                        Set title color.\n\n```\n\n\n### Examples\n```\nusage: ps1 examples [-h]\n\noptional arguments:\n  -h, --help  show this help message and exit\n\n```\n\n\n### Listcolors\n```\nusage: ps1 listcolors [-h] [--filter FILTER]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --filter FILTER, -f FILTER\n                        Filter color values\n\n```\n\n\n### Template\n```\nusage: ps1 template [-h] [-t TEMPLATE_NAME] [-l]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -t TEMPLATE_NAME, --template_name TEMPLATE_NAME\n                        Template Name\n  -l, --list            List Templates\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshollingsworth%2Fps1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshollingsworth%2Fps1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshollingsworth%2Fps1/lists"}