This commit is contained in:
Luk 2024-02-23 13:27:18 +08:00
parent 9022b2899d
commit 5753b72fa3
4 changed files with 10 additions and 9 deletions

View File

@ -64,12 +64,6 @@ then
echo
fi
# if [ "$ISSUEMODE" == 'c' ]
# then
# echo " === DNS API provider, for instance yuanjin.cc"
# read -p " >>> " CHALLENGE_ALIAS
# fi
echo "*** Issue Certificate:"
echo "*** ~/.acme.sh/acme.sh --issue -d $TARGET_HOSTNAME $ISSUEPARM $DNSAPI"
echo "***"

View File

@ -1,5 +1,6 @@
#!/bin/bash
echo === Merge [.gitignore_global] and [.gitignore_local] to [.gitignore] ===
curl -sSL https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore_global > .gitignore && cat .gitignore_local >> .gitignore
echo === Merge remote [.gitignore_global] and local [.gitignore_local] to [.gitignore] ===
curl -sSL https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore_global > .gitignore
if [ -f .gitignore_local ]; then cat .gitignore_local >> .gitignore; fi;
echo

View File

@ -114,7 +114,7 @@ fi
# color starts with \[\033[${ColorCode}m\] and ends with \[\033[00m\], in which the $ColorCode is `$Style$Type$Code`, for example, $Style=01; means text in bold, $Type=3 means text color, $Type=4 means background color, $Code could be 0-7 for pre-defined colors.
if [ "$color_prompt" = yes ]; then
PS1='<\[\033[01;42m\]\t\[\033[00m\]#\[\033[01;44m\]\u\[\033[00m\]@\[\033[01;46m\]\h\[\033[00m\]:\[\033[01;41m\]\w\[\033[00m\]> '
PS1='<\[\033[01;42m\]\t\[\033[00m\]#\[\033[01;43m\]\u\[\033[00m\]@\[\033[01;46m\]\h\[\033[00m\]:\[\033[01;41m\]\w\[\033[00m\]> '
else
PS1='<\t#\u@\h:\w> '
fi

View File

@ -0,0 +1,6 @@
#!/bin/bash
echo === Merge remote [seafile-ignore_global] and local [seafile-ignore_local] to [seafile-ignore.txt] ===
curl -sSL https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore_global > seafile-ignore.txt
if [ -f seafile-ignore_local ]; then cat seafile-ignore_local >> seafile-ignore.txt; fi
echo