Skip to main content
  1. 2022/
  2. July/

Adding Git Prompt Enahancement

Who doesn’t like a lil bit o git info in their prompt? #

clone the git prompt repo #

git clone ~/.bash-git-prompt --depth=1

Edit your .bashrc #


Bonus! Iterate through git themes #


Markdown content

for th in `git_prompt_list_themes 2>&1`; do echo "this is $th";  GIT_PROMPT_THEME=$th; setGitPrompt ; echo "${PS1@P}" ;  done;