Files
linux-workspace/rc/git-prompt.rc
Martin Blazik da85876264 Idea of *.rc files
There is neccessary to import only one file from $HOME/.bashrc
$WORKDIR/bashrc
2020-09-14 07:16:13 +02:00

5 lines
130 B
Plaintext
Executable File

if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source $HOME/.bash-git-prompt/gitprompt.sh
fi