Idea of *.rc files
There is neccessary to import only one file from $HOME/.bashrc $WORKDIR/bashrc
This commit is contained in:
4
rc/git-prompt.rc
Executable file
4
rc/git-prompt.rc
Executable file
@@ -0,0 +1,4 @@
|
||||
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