2024-08-03 16:30:39 by pin | Files touched by this commit (2) |  |
Log message:
sysutils/fzf: update to 0.54.3
- Fixed incompatibility of adaptive height specification and 'start:reload'
- Environment variables are now available to $FZF_DEFAULT_COMMAND
|
2024-07-27 08:27:47 by Iku Iwasa | Files touched by this commit (3) |  |
Log message:
fzf: update to 0.54.2
* Fixed incorrect syntax highlighting of truncated multi-line entries
* Updated GoReleaser to 2.1.0 to simplify notarization of macOS binaries
* macOS archives will be in tar.gz format instead of zip format since we
no longer notarize the zip files but binaries
* (Windows) Reverted a mintty fix in 0.54.0
* As a result, mouse may not work on mintty in fullscreen mode. However,
fzf will correctly read non-ASCII input in fullscreen mode
(--no-height).
* fzf unfortunately cannot read non-ASCII input when not in fullscreen
mode on Windows. So if you need to input non-ASCII characters, add
--no-height to your $FZF_DEFAULT_OPTS.
* Any help in fixing this issue will be appreciated (#3799, #3847).
|
2024-07-21 03:26:16 by Iku Iwasa | Files touched by this commit (3) |  |
Log message:
fzf: update to 0.54.1
* Updated fastwalk dependency for built-in directory walker
* fastwalk: add optional sorting and improve documentation
* fastwalk: only check if MSYSTEM is set during MSYS/MSYS2
* Reverted ALT-C binding of fish to use cd instead of builtin cd
* builtin cd was introduced to work around a bug of cd coming from zoxide
init --cmd cd fish where it cannot handle -- argument.
* However, the default cd of fish is actually a wrapper function for
supporting cd -, so we want to use it instead.
* See #3928 for more information and consider helping zoxide fix the bug.
|
2024-07-03 08:59:36 by Benny Siegert | Files touched by this commit (169) |  |
Log message:
Revbump all Go packages after go122 security update
|
2024-06-13 15:47:13 by Benny Siegert | Files touched by this commit (169) |  |
Log message:
Revbump all Go packages after go122 update
|
2024-06-01 16:03:06 by Benny Siegert | Files touched by this commit (168) |
Log message:
Revbump all Go packages, default Go version is now 1.22.
|
2024-05-19 04:35:37 by Iku Iwasa | Files touched by this commit (3) |  |
Log message:
fzf: update to 0.52.1
* Fixed a critical bug in the Windows version
* Windows users are strongly encouraged to upgrade to this version
|
2024-04-21 10:54:36 by Iku Iwasa | Files touched by this commit (3) |  |
Log message:
fzf: update to 0.50.0
0.50.0
* Search performance optimization. You can observe 50%+ improvement in some
scenarios.
$ rg --line-number --no-heading --smart-case . > $DATA
$ wc < $DATA
5520118 26862362 897487793
$ hyperfine -w 1 -L bin fzf-0.49.0,fzf-7ce6452,fzf-a5447b8,fzf '{bin} \
--filter "///" < $DATA | head -30'
Summary
fzf --filter "///" < $DATA | head -30 ran
1.16 ± 0.03 times faster than fzf-a5447b8 --filter "///" < \
$DATA | head -30
1.23 ± 0.03 times faster than fzf-7ce6452 --filter "///" < \
$DATA | head -30
1.52 ± 0.03 times faster than fzf-0.49.0 --filter "///" < \
$DATA | head -30
* Added: jump and jump-cancel events that are triggered when leaving jump
mode
# Default behavior
fzf --bind space:jump
# Same as jump-accept action
fzf --bind space:jump,jump:accept
# Accept on jump, abort on cancel
fzf --bind space:jump,jump:accept,jump-cancel:abort
# Change header on jump-cancel
fzf --bind 'space:change-header(Type jump \
label)+jump,jump-cancel:change-header:Jump cancelled'
* Added: a new environment variable $FZF_KEY exported to the child
processes. It's the name of the last key pressed.
fzf: --bind 'space:jump,jump:accept,jump-cancel:transform:[[ $FZF_KEY =~ \
ctrl-c ]] && echo abort'
* fzf can be built with profiling options. See BUILD.md for more information.
* Bug fixes
0.49.0
* Ingestion: performance improved by around 40% (more or less depending on
options)
$ time wc data
5513620 37997130 547840920 data
real 0m0.822s
user 0m0.764s
sys 0m0.052s
$ hyperfine -L bin fzf-0.48.1,fzf '{bin} --sync --bind load:accept < data'
Benchmark 1: fzf-0.48.1 --sync --bind load:accept < data
Time (mean ± σ): 440.3 ms ± 4.9 ms [User: 501.8 ms, System: \
117.0 ms]
Range (min … max): 432.8 ms … 446.1 ms 10 runs
Benchmark 2: fzf --sync --bind load:accept < data
Time (mean ± σ): 303.3 ms ± 4.5 ms [User: 320.1 ms, System: \
108.6 ms]
Range (min … max): 296.6 ms … 311.4 ms 10 runs
Summary
fzf --sync --bind load:accept < data ran
1.45 ± 0.03 times faster than fzf-0.48.1 --sync --bind load:accept < data
* --info=hidden: and --info=inline-right will no longer hide the horizontal
separator by default. This gives you more flexibility in customizing the
layout.
fzf --border --info=inline-right
fzf --border --info=inline-right --separator ═
fzf --border --info=inline-right --no-separator
fzf --border --info=hidden
fzf --border --info=hidden --separator ━
fzf --border --info=hidden --no-separator
* Added two environment variables exported to the child processes
* FZF_PREVIEW_LABEL
* FZF_BORDER_LABEL
# Use the current value of $FZF_PREVIEW_LABEL to determine which actions to \
perform
git ls-files |
fzf --header 'Press CTRL-P to change preview mode' \
--bind='ctrl-p:transform:[[ $FZF_PREVIEW_LABEL =~ cat ]] \
&& echo "change-preview(git log --color=always \
\{})+change-preview-label([[ log ]])" \
|| echo "change-preview(bat --color=always \
\{})+change-preview-label([[ cat ]])"'
* Renamed: track action to track-current to highlight the difference
between the global tracking state set by --track and a one-off tracking
action
* track is still available as an alias
* Added untrack-current and toggle-track-current actions
* *-current actions are no-op when the global tracking state is set
* Bug fixes and minor improvements
|
2024-04-05 21:14:14 by Benny Siegert | Files touched by this commit (161) |  |
Log message:
Revbump all Go packages after go121 update
|
2024-03-23 07:34:00 by Iku Iwasa | Files touched by this commit (3) |  |
Log message:
fzf: update to 0.48.1
0.48.1
* CTRL-T and ALT-C bindings can be disabled by setting FZF_CTRL_T_COMMAND
and FZF_ALT_C_COMMAND to empty strings respectively when sourcing the
script
# bash
FZF_CTRL_T_COMMAND= FZF_ALT_C_COMMAND= eval "$(fzf --bash)"
# zsh
FZF_CTRL_T_COMMAND= FZF_ALT_C_COMMAND= eval "$(fzf --zsh)"
# fish
fzf --fish | FZF_CTRL_T_COMMAND= FZF_ALT_C_COMMAND= source
* Setting the variables after sourcing the script will have no effect
* Bug fixes
0.48.0
* Shell: integration scripts are now embedded in the fzf binary. This
simplifies the distribution, and the users are less likely to have problems
caused by using incompatible scripts and binaries.
* bash
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
* zsh
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --zsh)"
* fish
# Set up fzf key bindings
fzf --fish | source
* Added options for customizing the behavior of the built-in walker
Option Description Default
--walker=OPTS Walker options ([file][,dir][,follow][,hidden]) file,follow,hidden
--walker-root=DIR Root directory from which to start walker .
--walker-skip=DIRS Comma-separated list of directory names to skip \
.git,node_modules
* Examples
# Built-in walker is only used by standalone fzf when $FZF_DEFAULT_COMMAND \
is not set
unset FZF_DEFAULT_COMMAND
fzf # default: --walker=file,follow,hidden --walker-root=. \
--walker-skip=.git,node_modules
fzf --walker=file,dir,hidden,follow --walker-skip=.git,node_modules,target
# Walker options in $FZF_DEFAULT_OPTS
export FZF_DEFAULT_OPTS="--walker=file,dir,hidden,follow \
--walker-skip=.git,node_modules,target"
fzf
# Reading from STDIN; --walker is ignored
seq 100 | fzf --walker=dir
# Reading from $FZF_DEFAULT_COMMAND; --walker is ignored
export FZF_DEFAULT_COMMAND='seq 100'
fzf --walker=dir
* Shell: integration scripts have been updated to use the built-in walker
with these new options and they are now much faster out of the box.
0.47.0
* Replaced "the default find command" with a built-in directory walker to
simplify the code and to achieve better performance and consistent behavior
across platforms. This doesn't affect you if you have $FZF_DEFAULT_COMMAND
set.
* Breaking changes:
* Unlike the previous "find" command, the new traversal code will list
hidden files, but hidden directories will still be ignored
* No filtering of devtmpfs or proc types
* Traversal is parallelized, so the order of the entries will be
different each time
* You may wonder why fzf implements directory walker anyway when it's a
filter program following the Unix philosophy. But fzf has had the walker
code for years to tackle the performance problem on Windows. And I
decided to use the same approach on different platforms as well for the
benefits listed above.
* Built-in: walker is using the excellent charlievieth/fastwalk library,
which easily outperforms its competitors and supports safely following
symlinks.
* Added $FZF_DEFAULT_OPTS_FILE to allow managing default options in a file
* Option precedence from lower to higher
a. Options read from $FZF_DEFAULT_OPTS_FILE
b. Options from $FZF_DEFAULT_OPTS
c. Options from command-line arguments
* Bug fixes and improvements
|