From 6e8361312ce4fb438c9f3c05d8a572d77ad01f12 Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Wed, 2 Sep 2020 18:25:56 +0200 Subject: [PATCH] Bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -pecl refonctionne -ajout d’espace pour antibody --- plugins.d/antibody.sh | 3 +++ plugins.d/installed.sh | 4 ++-- plugins.d/pecl.sh | 18 ++++++++++-------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/plugins.d/antibody.sh b/plugins.d/antibody.sh index 1ce9b0e..510a9c5 100755 --- a/plugins.d/antibody.sh +++ b/plugins.d/antibody.sh @@ -118,3 +118,6 @@ antibody: updated: https://github.com/sindresorhus/pure 0a92b02 -> 3a5355b antibody: updated: https://github.com/zdharma/fast-syntax-highlighting 303eeee -> 865566c antibody: updated: https://github.com/zsh-users/zsh-completions ed0c7a7 -> 16b8947 COMMENT + +echo "" +echo "" diff --git a/plugins.d/installed.sh b/plugins.d/installed.sh index e2022f1..19d4fc6 100755 --- a/plugins.d/installed.sh +++ b/plugins.d/installed.sh @@ -10,7 +10,7 @@ local_path=/Users/bruno/Sites/node_modules/ chemin=$(pwd) #version: pip ou pip3 -version=pip3 +pip_version=pip3 # ######################################### @@ -136,7 +136,7 @@ echo -e "🐍 Get pip \033[3m\033[93mPython 3 packages\033[0m installed list" echo '## 🐍 Python packages' >> Installed.md echo '' >> Installed.md -pip_packages=$($version list | sed '1,2d' | awk '{print $1}') +pip_packages=$($pip_version list | sed '1,2d' | awk '{print $1}') { echo "\`\`\`bash" echo "$pip_packages" diff --git a/plugins.d/pecl.sh b/plugins.d/pecl.sh index 8dce4a9..36f4644 100755 --- a/plugins.d/pecl.sh +++ b/plugins.d/pecl.sh @@ -67,15 +67,17 @@ if [ -n "$pecl_upgrade" ]; then pecl channel-update pecl.php.net #(pecl or doc) update available - #b=$(echo "$ligne" | awk '{print $2}') - #pecl info "$b" - #echo "" - #if [ "$no_distract" = false ]; then - # echo "$b" | xargs -p -n 1 pecl upgrade - #else - # echo "$b" | xargs -n 1 pecl upgrade - #fi + b=$(echo "$ligne" | awk '{print $2}') + pecl info "$b" + echo "" + if [ "$no_distract" = false ]; then + echo "$b" | xargs -p -n 1 pecl upgrade + else + echo "$b" | xargs -n 1 pecl upgrade + fi fi + echo "" + done <<< "$available" fi fi