{"id":19427297,"url":"https://github.com/theasp/bash-fancy-ps1","last_synced_at":"2026-05-13T01:31:46.286Z","repository":{"id":81613120,"uuid":"43206001","full_name":"theasp/bash-fancy-ps1","owner":"theasp","description":"Make long paths in your bash prompt shorter by stripping out middle directories","archived":false,"fork":false,"pushed_at":"2018-05-17T16:43:57.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T05:18:03.242Z","etag":null,"topics":["bash","bash-prompt"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theasp.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":"2015-09-26T13:18:23.000Z","updated_at":"2018-05-17T16:43:59.000Z","dependencies_parsed_at":"2023-03-06T16:30:28.063Z","dependency_job_id":null,"html_url":"https://github.com/theasp/bash-fancy-ps1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theasp/bash-fancy-ps1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fbash-fancy-ps1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fbash-fancy-ps1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fbash-fancy-ps1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fbash-fancy-ps1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theasp","download_url":"https://codeload.github.com/theasp/bash-fancy-ps1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasp%2Fbash-fancy-ps1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bash-prompt"],"created_at":"2024-11-10T14:11:13.215Z","updated_at":"2026-05-13T01:31:46.266Z","avatar_url":"https://github.com/theasp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bash-fancy-ps1\n\nModifies your current `$PS1` to replace `\\w` with a shorter string.  Also affects `$PROMPT_COMMAND`.  Run `make` to build `fancy-ps1.bash`.  Put `fancy-ps1.bash` somewhere in your path, like `~/bin/`, then add this to your `~/.bashrc`:\n```bash\nif [ -n \"$TERM\" -a \"$TERM\" != \"dumb\" ]; then\n    if which fancy-ps1.bash \u003e/dev/null 2\u003e\u00261; then\n        source $(which fancy-ps1.bash)\n\n        # Try to make CWD 30 characters.  Also see FANCYPS1_DYNAMIC.\n        # Default:\n        #FANCYPS1_CWDLENGTH=30\n\n        # When not 0, try to make CWD this percentage of the width of\n        # your terminal\n        # Default:\n        #FANCYPS1_DYNAMIC=0\n\n        # The string to fill your path with when elements are removed\n        # Default: (depends on if you are UTF-8 or not)\n        #FANCYPS1_FILL=$'\\u2736' # 2736 = ✷  279d = ➝  2026 = …\n        #FANCYPS1_FILL=\"...\"\n    fi\nfi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheasp%2Fbash-fancy-ps1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheasp%2Fbash-fancy-ps1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheasp%2Fbash-fancy-ps1/lists"}