add gitstatus prompt

This commit is contained in:
Ray Elliott 2022-03-12 17:36:58 +00:00
commit 39ce8b048f
3 changed files with 8 additions and 1 deletions

View file

@ -10,3 +10,8 @@ fi
ln -s "$HOME/.config/bash/bash_profile" "$HOME/.bash_profile"
ln -s "$HOME/.config/bash/bashrc" "$HOME/.bashrc"
# https://github.com/romkatv/gitstatus#using-from-bash
if [ ! -d "$HOME/.config/bash/gitstatus" ] ; then
git clone --depth=1 https://github.com/romkatv/gitstatus.git "$HOME/.config/bash/gitstatus"
fi