This commit is contained in:
USER
2024-02-13 19:32:30 +00:00
parent faaaadf703
commit affecf0efb
4 changed files with 3 additions and 21 deletions

View File

@ -1,19 +0,0 @@
SHELL := /bin/sh
ZZ = /zz
MAKEFILE := $(firstword $(MAKEFILE_LIST))
MAKEFILE_NAME := $$(basename ${MAKEFILE})
.PHONY: help
help: ## Show this help
@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
#####
mark-complete:
-touch /var/tmp/${MAKEFILE_NAME}
update:
-(${ZZ}/zShared/sbin/GitClone)
-(${ZZ}/zShared/sbin/GitPull)
#####
load-all: update mark-complete

View File

@ -74,7 +74,7 @@ clone_repo
if [ ${DELETE_ONETIME} = 1 ]
then
# rm -f /root/root.private
rm -f /root/root.private
echo "Deleting /root/root.private"
fi

View File

@ -125,7 +125,8 @@ _setprompt() {
local ERRCODE="\$([[ \$? != 0 ]] && echo \"${DASH}(${Red}${X}${White})\")${DASH}"
LINE1="${White}\342\224\214(${C1}\u@\h$EXTRAPROMPT${White})${ERRCODE}(${C1}\@ \d${White})"
local LINE2="\342\224\224\342\224\200(${C2}\w${White})-> "
# local LINE2="\342\224\224\342\224\200(${C2}\w${White})-> "
local LINE2="\342\224\224\342\224\200(${C1}\w${White})-> "
export PS1="${NEWLINE}${LINE1}${NEWLINE}${LINE2}${Color_Off}"
;;
3line)