Idea of *.rc files
There is neccessary to import only one file from $HOME/.bashrc $WORKDIR/bashrc
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
WORKSPACE=$(dirname "$0")
|
||||
|
||||
for rc_file in $WORKSPACE/rc/*.rc; do
|
||||
echo "source $rc_file"
|
||||
done
|
||||
|
||||
Executable
+4
@@ -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