This commit is contained in:
Jakobus Schürz 2020-04-05 01:42:17 +02:00
parent b52dd27ebe
commit 642df8ae70
2 changed files with 5 additions and 4 deletions

View file

@ -98,10 +98,10 @@ EOF
# source git-sync part of myshellconfig # source git-sync part of myshellconfig
. ~/"${MYSHELLCONFIG_BASE}/myshell_git_sync" . "${MYSHELLCONFIG_BASE}/myshell_git_sync"
# source loading defaults part of myshellconfig # source loading defaults part of myshellconfig
. ~/"${MYSHELLCONFIG_BASE}/myshell_load_defaults" . "${MYSHELLCONFIG_BASE}/myshell_load_defaults"
cat << EOF >> "${MYSHELLCONFIG_LOGFILE}" cat << EOF >> "${MYSHELLCONFIG_LOGFILE}"
--8<--- end ---------------- $(date) ---------------8<-- --8<--- end ---------------- $(date) ---------------8<--

View file

@ -225,8 +225,9 @@ mkcd () {
sshmyshellconfig() { sshmyshellconfig() {
[ -z "${MYSHELLCONFIG_BASE+x} ] && MYSHELLCONFIG_BASE=".local/myshellconfig" [ -z "${MYSHELLCONFIG_SUBPATH+x}" ] && MYSHELLCONFIG_SUBPATH=".local/myshellconfig"
[ -z "${MYSHELLCONFIG_BASE_PARENT+x} ] && MYSHELLCONFIG_BASE_PARENT="$(dirname $MYSHELLCONFIG_BASE)" [ -z "${MYSHELLCONFIG_BASE+x}" ] && MYSHELLCONFIG_BASE="${HOME}/${MYSHELLCONFIG_SUBPATH}"
MYSHELLCONFIG_BASE_PARENT="$(dirname $MYSHELLCONFIG_BASE)"
if [ $1 == "localhost" ]; then if [ $1 == "localhost" ]; then
CMD="" CMD=""