fzf: update to 0.9.10.

This commit is contained in:
Dominik Honnef 2015-04-19 21:09:26 +02:00
parent 589d71ee7b
commit da4cd95c9e
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
local selected
if selected=$(fc -l 1 | fzf +s --tac +m -n2..,.. --toggle-sort=ctrl-r -q "$LBUFFER"); then
if selected=$(fc -l 1 | fzf +s --tac +m -n2..,.. --tiebreak=index --toggle-sort=ctrl-r -q "$LBUFFER"); then
num=$(echo "$selected" | head -1 | awk '{print $1}' | sed 's/[^0-9]//g')
LBUFFER=!$num
zle expand-history

View file

@ -1,9 +1,9 @@
# Template file for 'fzf'
pkgname=fzf
version=0.9.7.1
_version=0.9.7-1
version=0.9.10
_version=${version}
wrksrc=${pkgname}-${_version}
revision=3
revision=1
build_style=go
go_import_path="github.com/junegunn/fzf/src"
go_package="github.com/junegunn/fzf/src/fzf"
@ -14,7 +14,7 @@ license="MIT"
homepage="https://github.com/junegunn/fzf"
short_desc="A command-line fuzzy finder"
distfiles="https://github.com/junegunn/fzf/archive/${_version}.tar.gz"
checksum=38fa16c41e861af6ad87e7ff655188559775a2979254d76198c435d198e15fb4
checksum=f5492ec1f8cce4c78d480ad3edd4e077df17109cde7bf5ade6f11135ce65aee3
# Needs cgo to build, which doesn't work when cross-compiling.
nocross=yes