Use smarter functions for rc.local/ scripts

This commit is contained in:
Martin Blazik
2022-05-29 16:16:21 +02:00
parent 91ab592f83
commit 0f3076dd96
5 changed files with 14 additions and 11 deletions

View File

@@ -1,3 +1,3 @@
GIT_PROMPT_INIT="$HOME/.bash-git-prompt/gitprompt.sh"
GIT_PROMPT_ONLY_IN_REPO=1
nop ${GIT_PROMPT_INIT:="$HOME/.bash-git-prompt/gitprompt.sh"}
nop ${GIT_PROMPT_ONLY_IN_REPO:=1}
source_try "$GIT_PROMPT_INIT"