{"id":13487240,"url":"https://github.com/riobard/bash-powerline","last_synced_at":"2025-10-25T01:18:18.395Z","repository":{"id":9576162,"uuid":"11490604","full_name":"riobard/bash-powerline","owner":"riobard","description":"Powerline-style Bash prompt in pure Bash script. See also https://github.com/riobard/zsh-powerline","archived":false,"fork":false,"pushed_at":"2023-07-06T04:20:33.000Z","size":376,"stargazers_count":905,"open_issues_count":16,"forks_count":169,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-02T22:04:52.026Z","etag":null,"topics":["bash","powerline","shell"],"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/riobard.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":"2013-07-18T00:13:14.000Z","updated_at":"2025-03-22T11:15:09.000Z","dependencies_parsed_at":"2024-10-30T01:24:28.112Z","dependency_job_id":null,"html_url":"https://github.com/riobard/bash-powerline","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/riobard%2Fbash-powerline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riobard%2Fbash-powerline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riobard%2Fbash-powerline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riobard%2Fbash-powerline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riobard","download_url":"https://codeload.github.com/riobard/bash-powerline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131355,"owners_count":21052822,"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","powerline","shell"],"created_at":"2024-07-31T18:00:56.971Z","updated_at":"2025-10-25T01:18:13.352Z","avatar_url":"https://github.com/riobard.png","language":"Shell","readme":"# bash-powerline\n\nPowerline for Bash in pure Bash script.\n\n![bash-powerline](https://raw.github.com/riobard/bash-powerline/master/screenshots/solarized-light.png)\n\n## Features\n\n* Git: show branch name, tag name, or unique short hash.\n* Git: show \"*\" symbol with uncommited modifications.\n* Git: show \"↑\" symbol and number of commits ahead of remote.\n* Git: show \"↓\" symbol and number of commits behind remote.\n* Platform-dependent prompt symbols.\n* Color-coded prompt symbol according to previous command execution status.\n* Use Bash builtin when possible to reduce delay. Delay sucks!\n* No need for patched fonts.\n\n\n## Installation\n\nDownload the Bash script\n\n    curl https://raw.githubusercontent.com/riobard/bash-powerline/master/bash-powerline.sh \u003e ~/.bash-powerline.sh\n\nAnd source it in your `.bashrc`\n\n    source ~/.bash-powerline.sh\n\nFor best result, use [Solarized\ncolorscheme](https://github.com/altercation/solarized) for your terminal\nemulator. Or hack your own colorscheme by modifying the script. It's really\neasy.\n\n\n## Why?\n\nThis script is inspired by\n[powerline-shell](https://github.com/milkbikis/powerline-shell), which is\nimplemented in Python. Python scripts are much easier to write and maintain than\nBash scripts, but invoking Python interpreter introduces noticable delay to\ndraw. I hate delays, so I ported just the part I need to pure Bash script.\n\nThe other reason is that I don't like the idea of patching fonts. The\nfont patching mechanism from the original Powerline does not work with the\nbitmap font (Apple Monaco without anti-aliasing) I use on non-retina screens.\nI'd rather stick with existing unicode symbols.\n\n\n## See also\n\n* [zsh-powerline](https://github.com/riobard/zsh-powerline): Same thing but for\n    Zsh.\n* [powerline](https://github.com/Lokaltog/powerline): Unified Powerline\n  written in Python. This is the future of all Powerline derivatives.\n* [vim-powerline](https://github.com/Lokaltog/vim-powerline): Powerline in Vim\n  writtien in pure Vimscript. Deprecated.\n* [tmux-powerline](https://github.com/erikw/tmux-powerline): Powerline for Tmux\n  written in Bash script. Deprecated.\n* [powerline-shell](https://github.com/milkbikis/powerline-shell): Powerline for\n  Bash/Zsh/Fish implemented in Python. Might be merged into the unified\n  Powerline.\n* [emacs powerline](https://github.com/milkypostman/powerline): Powerline for\n  Emacs\n","funding_links":[],"categories":["Customization","Alternative Engines","Shell","Shell (473)","Shells","Packages","Prompts and Color Themes"],"sub_categories":["Bash","Prompts","Directory Navigation","Reusable Things"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friobard%2Fbash-powerline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friobard%2Fbash-powerline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friobard%2Fbash-powerline/lists"}