Move init scipts to rc.local

This commit is contained in:
lachtan
2024-09-01 08:26:14 +02:00
parent a21113f961
commit 36b28ae72e
3 changed files with 0 additions and 0 deletions

13
rc.local/git-prompt.sh Normal file
View File

@@ -0,0 +1,13 @@
if [ -d "$HOME/.bash-git-prompt" ]; then
GIT_PROMPT_PATH="$HOME/.bash-git-prompt"
else
GIT_PROMPT_PATH="$LWS/opt/bash-git-prompt"
fi
GIT_PROMPT_INIT="$GIT_PROMPT_PATH/gitprompt.sh"
if [ -f "$GIT_PROMPT_INIT" ]; then
export GIT_PROMPT_PATH
GIT_PROMPT_ONLY_IN_REPO=1
source "$GIT_PROMPT_INIT"
fi