defaults in extra config-file

This commit is contained in:
Jakobus Schürz 2020-12-10 09:41:23 +01:00
parent b930a511eb
commit 65b282cdfb
2 changed files with 8 additions and 0 deletions

View file

@ -23,6 +23,10 @@ if [[ $- = *i* ]] ; then
# Base Path # Base Path
[ -z "${MSC_SUBPATH+x}" ] && export MSC_SUBPATH=".local/myshellconfig" [ -z "${MSC_SUBPATH+x}" ] && export MSC_SUBPATH=".local/myshellconfig"
[ -z "${MSC_BASE+x}" ] && export MSC_BASE="${HOME}/${MSC_SUBPATH}" [ -z "${MSC_BASE+x}" ] && export MSC_BASE="${HOME}/${MSC_SUBPATH}"
# DEFAULTS
[ -e ${MSC_BASE}/defaults.conf ] && . ${MSC_BASE}/defaults.conf
# hardcoded paths # hardcoded paths
export MSC_BASE_PARENT="$(dirname $MSC_BASE)" export MSC_BASE_PARENT="$(dirname $MSC_BASE)"
export MSC_BASH_COMPLETION="${HOME}/${MSC_SUBPATH}/bash_completion.d" export MSC_BASH_COMPLETION="${HOME}/${MSC_SUBPATH}/bash_completion.d"

4
defaults.conf Normal file
View file

@ -0,0 +1,4 @@
MSC_GIT_SUBMODULES_UPDATE_DEFAULT=true
MSC_GIT_SUBMODULES_UPDATE_INTERVALL=48 #intervall in hours
MSC_GIT_SUBMODULES_SERVER_DEFAULT="git://git.schuerz.at/github.com/"
MSC_GIT_CHECKOUTSCRIPT_OPTIONS_DEFAULT="-h"