Prepaing insall scripts
Creating description and installation scripts
This commit is contained in:
11
scripts/git-prompt-install.sh
Normal file
11
scripts/git-prompt-install.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user