Files
linux-workspace/scripts/git-prompt-install.sh
Martin Blazik fd7e36a457 Prepaing insall scripts
Creating description and installation scripts
2020-08-11 21:39:52 +02:00

12 lines
283 B
Bash

# https://github.com/magicmonty/bash-git-prompt
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
# ~/.bashrc
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source $HOME/.bash-git-prompt/gitprompt.sh
fi