Settings + readme

This commit is contained in:
2019-08-10 18:03:01 +02:00
parent 5616a56bbf
commit aec6df385c
9 changed files with 109 additions and 18 deletions

View File

@@ -9,6 +9,10 @@
# ou
# /usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/perl -i -0pe 's/depends_on macos: \[.*?\]//gsm;s/depends_on macos: .*//g'
#########################################
#
# Settings:
# Display info on updated pakages
display_info=true
@@ -17,6 +21,8 @@ declare -a do_not_update=('virtualbox,virtualbox-extension-pack')
# No distract mode (no user interaction)(Casks with 'latest' version number won't be updated)
no_distract=false
#
#########################################
if [[ $1 == "--nodistract" ]]; then
no_distract=true

View File

@@ -16,14 +16,25 @@
# https://github.com/npm/npm/issues/17744
# No distract mode
#########################################
#
# Settings:
# No distract mode (no user interaction)
no_distract=false
doctor=false
if [[ $1 == "--nodistract" ]]; then
no_distract=true
fi
# Set doctor=true to run 'npm doctor' and 'npm cache verify' each time
doctor=true
# Local install
local_path=$HOME/Sites/node_modules/
#########################################
echo -e "\033[1m🌿 npm \033[0m"
echo ""
@@ -115,9 +126,9 @@ if [ "$doctor" = true ]; then
echo ""
fi
if [[ $1 == "--npm_cleanup" ]]; then
#if [[ $1 == "--npm_cleanup" ]]; then
if [[ $1 == "--cleanup" ]]; then
echo "npm cache clean"
# As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid.
# If you want to make sure everything is consistent, use 'npm cache verify' instead.
# On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.

View File

@@ -5,8 +5,18 @@
# https://pecl.php.net
#########################################
#
# Settings:
# No distract mode (no user interaction)
no_distract=false
#
#########################################
if [[ $1 == "--nodistract" ]]; then
no_distract=true
fi
echo -e "\033[1m🐘 pecl \033[0m"

View File

@@ -3,6 +3,10 @@
# pip plugin for KYMSU
# https://github.com/welcoMattic/kymsu
#########################################
#
# Settings:
#version: pip ou pip3
version=pip3
#user: "" or "--user"
@@ -11,6 +15,8 @@ user=""
no_distract=false
#add module to do_not_update array
declare -a do_not_update=()
#
#########################################
if [[ $1 == "--nodistract" ]]; then
no_distract=true