change "echo ===" to "echo #<<<" to avoid confusing when searching for ===

This commit is contained in:
Luk
2024-12-13 20:09:17 +08:00
parent 4f1b5809e0
commit c063e02f1e
58 changed files with 328 additions and 265 deletions

View File

@@ -9,10 +9,10 @@ echo nrm ls
echo nrm current
echo
echo "=== npm config get registry ==> $(npm config get registry)"
echo "#<<< npm config get registry ==> $(npm config get registry)"
echo
echo "=== npm config set registry \n [c] China, \n [w] World, [anything else] to quit"
read -p ">>> " TARGET
echo "#<<< npm config set registry \n [c] China, \n [w] World, [anything else] to quit"
read -p "#>>> " TARGET
if [ "$TARGET" = 'c' ]
then
npm config set registry https://registry.npmmirror.com
@@ -21,4 +21,4 @@ then
npm config set registry https://registry.npmjs.org
fi
echo
echo "=== npm config get registry ==> $(npm config get registry)"
echo "#<<< npm config get registry ==> $(npm config get registry)"