Accepting request 1001296 from home:jcronenberg
- Update to 0.33.0: - Added --scheme=[default|path|history] option to choose scoring scheme - (Experimental) - We updated the scoring algorithm in 0.32.0, however we have learned that this new scheme (default) is not always giving the optimal result - path: Additional bonus point is only given to the the characters after path separator. You might want to choose this scheme if you have many files with spaces in their paths. - history: No additional bonus points are given so that we give more weight to the chronological ordering. This is equivalent to the scoring scheme before 0.32.0. This also sets --tiebreak=index. - ANSI color sequences with colon delimiters are now supported. printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi - Support border-{up,down} as the synonyms for border-{top,bottom} in --preview-window - Added support for ANSI strikethrough printf "\e[9mdeleted" | fzf --ansi fzf --color fg+:strikethrough OBS-URL: https://build.opensuse.org/request/show/1001296 OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=56
This commit is contained in:
parent
755ba727c8
commit
1c833ad317
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3502c15faeb0a6d553c68ab1a7f472af08afed94a1d016427a8ab053ef149a8f
|
||||
size 212066
|
3
fzf-0.33.0.tar.gz
Normal file
3
fzf-0.33.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:136ddddfdb229631b08ea7e67be965bcf9c95f5fe1360b80b11f81aa64ba19ad
|
||||
size 212698
|
25
fzf.changes
25
fzf.changes
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 14:04:02 UTC 2022 - Jorik Cronenberg <jorik.cronenberg@suse.com>
|
||||
|
||||
- Update to 0.33.0:
|
||||
- Added --scheme=[default|path|history] option to choose scoring scheme
|
||||
- (Experimental)
|
||||
- We updated the scoring algorithm in 0.32.0, however we have learned that
|
||||
this new scheme (default) is not always giving the optimal result
|
||||
- path: Additional bonus point is only given to the the characters after
|
||||
path separator. You might want to choose this scheme if you have many
|
||||
files with spaces in their paths.
|
||||
- history: No additional bonus points are given so that we give more
|
||||
weight to the chronological ordering. This is equivalent to the scoring
|
||||
scheme before 0.32.0. This also sets --tiebreak=index.
|
||||
|
||||
- ANSI color sequences with colon delimiters are now supported.
|
||||
printf "\e[38;5;208mOption 1\e[m\nOption 2" | fzf --ansi
|
||||
printf "\e[38:5:208mOption 1\e[m\nOption 2" | fzf --ansi
|
||||
|
||||
- Support border-{up,down} as the synonyms for border-{top,bottom} in
|
||||
--preview-window
|
||||
- Added support for ANSI strikethrough
|
||||
printf "\e[9mdeleted" | fzf --ansi
|
||||
fzf --color fg+:strikethrough
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 3 14:31:08 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
6
fzf.spec
6
fzf.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: fzf
|
||||
Version: 0.32.0
|
||||
Version: 0.33.0
|
||||
Release: 0
|
||||
Summary: A command-line fuzzy finder
|
||||
License: MIT
|
||||
@ -25,7 +25,7 @@ Group: Productivity/File utilities
|
||||
URL: https://github.com/junegunn/fzf
|
||||
Source0: https://github.com/junegunn/fzf/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: golang(API) = 1.18
|
||||
BuildRequires: golang(API) >= 1.17
|
||||
|
||||
%description
|
||||
fzf is an interactive Unix filter for command-line that can be used with any list; files,
|
||||
@ -104,7 +104,7 @@ BUILDMOD=""
|
||||
BUILDMOD="-buildmode=pie"
|
||||
%endif
|
||||
export RPM_OPT_FLAGS="%{optflags}"
|
||||
go build -v -x -mod=vendor $BUILDMOD -a -ldflags "-X main.revision=%{version}"
|
||||
go build -v -x -mod=vendor $BUILDMOD -a -ldflags "-s -X main.revision=%{version}"
|
||||
|
||||
%install
|
||||
install -Dm755 fzf %{buildroot}%{_bindir}/fzf
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f72530ac494d377196fff4446ab8a1b033f2b078b21594248dceea1cdd2940f4
|
||||
size 1307584
|
||||
oid sha256:8697d8064955fc274a7ce57be9e2ff314f3be5e07e2d516eb7bb705d3c3e592f
|
||||
size 1323764
|
||||
|
Loading…
Reference in New Issue
Block a user