View | Details | Raw Unified | Return to bug 224715
Collapse All | Expand All

(-)fzf/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fzf
4
PORTNAME=	fzf
5
PORTVERSION=	0.17.1
5
PORTVERSION=	0.17.3
6
CATEGORIES=	textproc
6
CATEGORIES=	textproc
7
7
8
MAINTAINER=	sascha@root-login.org
8
MAINTAINER=	sascha@root-login.org
(-)fzf/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1508940555
1
TIMESTAMP = 1514580193
2
SHA256 (junegunn-fzf-0.17.1_GH0.tar.gz) = 9c881e55780c0f56b5a30b87df756634d853bfd3938e7e53cb2df6ed63aa84a7
2
SHA256 (junegunn-fzf-0.17.3_GH0.tar.gz) = e843904417adf926613431e4403fded24fade56269446e92aac6ff1db86af81e
3
SIZE (junegunn-fzf-0.17.1_GH0.tar.gz) = 133222
3
SIZE (junegunn-fzf-0.17.3_GH0.tar.gz) = 136933
4
SHA256 (lucasb-eyer-go-colorful-c900de9_GH0.tar.gz) = 0188b3fbfdd0427142e0fae5d64bfaf66e3428eb2536ae30ec11dda184c5189e
4
SHA256 (lucasb-eyer-go-colorful-c900de9_GH0.tar.gz) = 0188b3fbfdd0427142e0fae5d64bfaf66e3428eb2536ae30ec11dda184c5189e
5
SIZE (lucasb-eyer-go-colorful-c900de9_GH0.tar.gz) = 57046
5
SIZE (lucasb-eyer-go-colorful-c900de9_GH0.tar.gz) = 57046
6
SHA256 (mattn-go-runewidth-14207d2_GH0.tar.gz) = e665c10f4ccefe1d320fe8fe69403754c499fe79bc737f8f1d199d86ecfb7efb
6
SHA256 (mattn-go-runewidth-14207d2_GH0.tar.gz) = e665c10f4ccefe1d320fe8fe69403754c499fe79bc737f8f1d199d86ecfb7efb
(-)fzf/files/patch-shell_completion.bash (-5 / +6 lines)
Lines 1-11 Link Here
1
--- shell/completion.bash.orig	2017-10-25 13:15:42 UTC
1
--- shell/completion.bash.orig	2017-12-03 14:55:24.000000000 +0000
2
+++ shell/completion.bash
2
+++ shell/completion.bash	2017-12-29 20:46:41.906877000 +0000
3
@@ -215,7 +215,7 @@ _fzf_complete_kill() {
3
@@ -219,7 +219,8 @@
4
 
4
 
5
   local selected fzf
5
   local selected fzf
6
   fzf="$(__fzfcmd_complete)"
6
   fzf="$(__fzfcmd_complete)"
7
-  selected=$(ps -ef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" $fzf -m | awk '{print $2}' | tr '\n' ' ')
7
-  selected=$(command ps -ef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" $fzf -m | awk '{print $2}' | tr '\n' ' ')
8
+  selected=$(ps -uef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" $fzf -m | awk '{print $2}' | tr '\n' ' ')
8
+  selected=$(ps -uef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAU
9
+LT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" $fzf -m | awk '{print $2}' | tr '\n' ' ')
9
   printf '\e[5n'
10
   printf '\e[5n'
10
 
11
 
11
   if [ -n "$selected" ]; then
12
   if [ -n "$selected" ]; then
(-)fzf/files/patch-shell_completion.zsh (-5 / +7 lines)
Lines 1-11 Link Here
1
--- shell/completion.zsh.orig	2017-10-25 13:15:38 UTC
1
--- shell/completion.zsh.orig	2017-12-03 14:55:24.000000000 +0000
2
+++ shell/completion.zsh
2
+++ shell/completion.zsh	2017-12-29 20:54:22.283164000 +0000
3
@@ -163,7 +163,7 @@ fzf-completion() {
3
@@ -163,7 +163,9 @@
4
   # Kill completion (do not require trigger sequence)
4
   # Kill completion (do not require trigger sequence)
5
   if [ $cmd = kill -a ${LBUFFER[-1]} = ' ' ]; then
5
   if [ $cmd = kill -a ${LBUFFER[-1]} = ' ' ]; then
6
     fzf="$(__fzfcmd_complete)"
6
     fzf="$(__fzfcmd_complete)"
7
-    matches=$(ps -ef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' ' ')
7
-    matches=$(command ps -ef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' ' ')
8
+    matches=$(ps -uef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFAULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n' ' ')
8
+    matches=$(ps -uef | sed 1d | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-50%} --min-height 15 --reverse $FZF_DEFA
9
+ULT_OPTS --preview 'echo {}' --preview-window down:3:wrap $FZF_COMPLETION_OPTS" ${=fzf} -m | awk '{print $2}' | tr '\n'
10
+' ')
9
     if [ -n "$matches" ]; then
11
     if [ -n "$matches" ]; then
10
       LBUFFER="$LBUFFER$matches"
12
       LBUFFER="$LBUFFER$matches"
11
     fi
13
     fi

Return to bug 224715