From c9c9e45febc505cf05321a87395125359097f71b Mon Sep 17 00:00:00 2001 From: Georgiy Odisharia Date: Sun, 5 Nov 2017 21:58:54 +0300 Subject: [PATCH 1/3] Tiny fix of regexp for completions' comments This fix allows to have comments with `provide plenv completions` not only as standalone strings but also for embedded inline comments. Also, the commit fixes completions for `plenv commands` command and other possibly broken before commands. Signed-off-by: Georgiy Odisharia --- libexec/plenv-completions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/plenv-completions b/libexec/plenv-completions index 0389b40..266e9ef 100755 --- a/libexec/plenv-completions +++ b/libexec/plenv-completions @@ -11,7 +11,7 @@ if [ -z "$COMMAND" ]; then fi COMMAND_PATH="$(command -v "plenv-$COMMAND" || command -v "plenv-sh-$COMMAND")" -if grep -i "^\([#%]\|--\|//\) provide plenv completions" "$COMMAND_PATH" >/dev/null; then +if grep -i "^.*\([#%]\|--\|//\) provide plenv completions" "$COMMAND_PATH" >/dev/null; then shift exec "$COMMAND_PATH" --complete "$@" fi From 441fd98d0aba27d6523ac156b077d12724768b6b Mon Sep 17 00:00:00 2001 From: Tokuhiro Matsuno Date: Sat, 26 May 2018 18:29:13 +0900 Subject: [PATCH 2/3] Prearing 2.3.0 release --- Changes | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Changes b/Changes index 3f951a2..7c5643f 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,16 @@ +2.3.0 2018-05-26T18:18:00 + + - plenv-init: fix setenv / set usage for fish + (Finn Smith) + - use system perl by preference when installing + (Songmu) + - Don't install EUMM when installing cpanm + (skaji) + - plenv: fix ':' in head of $PLENV_HOOK_PATH + (Olivier Mengué) + - Don't overwrite exit status at END block + (Syohei YOSHIDA) + 2.2.0 2016-01-21T11:33:00 - Fix fork bomb issue and cleanup From c65d03ebdf73b8a6a20eca5a2a8ca8cc06b2dd8a Mon Sep 17 00:00:00 2001 From: Georgiy Odisharia Date: Sun, 5 Nov 2017 21:58:54 +0300 Subject: [PATCH 3/3] Tiny fix of regexp for completions' comments This fix allows to have comments with `provide plenv completions` not only as standalone strings but also for embedded inline comments. Also, the commit fixes completions for `plenv commands` command and other possibly broken before commands. Signed-off-by: Georgiy Odisharia --- libexec/plenv-completions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/plenv-completions b/libexec/plenv-completions index 0389b40..266e9ef 100755 --- a/libexec/plenv-completions +++ b/libexec/plenv-completions @@ -11,7 +11,7 @@ if [ -z "$COMMAND" ]; then fi COMMAND_PATH="$(command -v "plenv-$COMMAND" || command -v "plenv-sh-$COMMAND")" -if grep -i "^\([#%]\|--\|//\) provide plenv completions" "$COMMAND_PATH" >/dev/null; then +if grep -i "^.*\([#%]\|--\|//\) provide plenv completions" "$COMMAND_PATH" >/dev/null; then shift exec "$COMMAND_PATH" --complete "$@" fi