{"version":"1.0","type":"rich","title":"gitbranch prompt","description":"This example enhances the bash prompt by visually integrating the current Git branch name. It displays the branch in green text within parentheses, immediately after the working directory, while the rest of the prompt remains the standard user, host, and directory format. The implementation uses a shell function, `parse_git_branch`, which runs `git branch` and filters its output with `sed`. The resulting function is embedded into the `PS1` environment variable via a script appended to the user’s `~/.bash_profile`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-c09c10d8c94114f5312a96b9c2896c69?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}