summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-03-14Limit the maximum number of focus events to process at oncedevelJunegunn Choi
2024-03-140.48.00.48.0Junegunn Choi
2024-03-13Embed shell integration scripts in fzf binary (`--bash` / `--zsh` / ↵Junegunn Choi
`--fish`) (#3675) This simplifies the distribution, and the users are less likely to have problems caused by using incompatible scripts and binaries. # Set up fzf key bindings and fuzzy completion eval "$(fzf --bash)" # Set up fzf key bindings and fuzzy completion eval "$(fzf --zsh)" # Set up fzf key bindings fzf --fish | source
2024-03-13Add walker options and replace 'find' with the built-in walker (#3649)Junegunn Choi
2024-03-13[bash] Fix regression in dynamic completionJunegunn Choi
Fix #3674
2024-03-12Bump golang.org/x/term from 0.17.0 to 0.18.0 (#3670)dependabot[bot]
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.17.0 to 0.18.0. - [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-10Revert "Fix CHANGELOG"Junegunn Choi
This reverts commit 73aff476dd601457858121bf037fe33895bab328.
2024-03-10Fix CHANGELOGJunegunn Choi
2024-03-100.47.00.47.0Junegunn Choi
2024-03-10[bash] Update orig_complete after _completion_loaderKoichi Murase
2024-03-10[bash] Refactor access to "_fzf_orig_complete_${cmd//[^A-Za-z0-9_]/_}"Koichi Murase
In the current codebase, for the original completion settings, the pieces of the codes to determine the variable name and to access the stored data are scattered. In this patch, we define functions to access these variables. Those functions will be used in a coming patch. * This patch also resolves an inconsistent escaping of "$cmd": $cmd is escaped as ${...//[^A-Za-z0-9_]/_} in some places, but it is escaped as ${...//[^A-Za-z0-9_=]/_} in some other places. The latter leaves the character "=" in the command name, which causes an issue because "=" cannot be a part of a variable name. For example, the following test case produces an error message: $ COMP_WORDBREAKS=${COMP_WORDBREAKS//=} $ _test1() { COMPREPLY=(); } $ complete -vF _test1 cmd.v=1.0 $ _fzf_setup_completion path cmd.v=1.0 $ cmd.v=1.0 [TAB] bash: _fzf_orig_completion_cmd_v=1_0: invalid variable name The behavior of leaving "=" was present from the beginning when saving the original completion is introduced in commit 91401514, and this does not seem to be a specific reasoning. In this patch, we replace "=" as well as the other non-identifier characters. * Note: In this patch, the variable REPLY is used to return values from functions. This design is to make it useful with the value substitutions, a new Bash feature of the next release 5.3, which is taken from mksh.
2024-03-10Deploying to master from @ ↵junegunn
junegunn/fzf@26244ad8c21ccc946393e10eea7d6b1ad32096e1 🚀
2024-03-09Fix preview area not being cleared when using certain types of border stylesJunegunn Choi
fzf --preview 'sleep 3; date' --preview-window hidden \ --bind ctrl-/:change-preview-window:up,border-bottom
2024-03-08Kill preview process when hiding the preview windowJunegunn Choi
via toggle-preview, hide-preview, or change-preview-window
2024-03-08Fix invalid memory access when the preview window becomes hiddenJunegunn Choi
2024-03-07Fix typo (#3661)huajin tong
2024-03-05Bump actions/checkout from 3 to 4 (#3428)dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05Bump github.com/gdamore/tcell/v2 from 2.7.1 to 2.7.4 (#3658)dependabot[bot]
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.7.1 to 2.7.4. - [Release notes](https://github.com/gdamore/tcell/releases) - [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md) - [Commits](https://github.com/gdamore/tcell/compare/v2.7.1...v2.7.4) --- updated-dependencies: - dependency-name: github.com/gdamore/tcell/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05Bump crate-ci/typos from 1.18.2 to 1.19.0 (#3657)dependabot[bot]
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.18.2 to 1.19.0. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.18.2...v1.19.0) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05Update parseGetParams to call strconv.Atoi when params are validonee-only
2024-03-05Update error return position according to conventiononee-only
2024-03-05Remove duplicate codeonee-only
2024-03-03Deploying to master from @ ↵junegunn
junegunn/fzf@f35a9da99a0e14ffc291a57d1fc60c38be0a2315 🚀
2024-03-02Bump crate-ci/typos from 1.17.2 to 1.18.2 (#3624)dependabot[bot]
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.17.2 to 1.18.2. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.17.2...v1.18.2) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.20 (#3489)dependabot[bot]
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.17 to 0.0.20. - [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.20) --- updated-dependencies: - dependency-name: github.com/mattn/go-isatty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02Allow iTerm2 image data that ends with 'ESC \' (#3646)Junegunn Choi
2024-02-29Add $FZF_DEFAULT_OPTS_FILE (#3618)Junegunn Choi
For those who prefer to manage default options in a file. If the file is not found, fzf will exit with an error. We're not setting a default value for it because: 1. it's hard to find a default value that can be universally agreed upon 2. to avoid fzf having to check for the existence of the file even when it's not used
2024-02-25Deploying to master from @ ↵junegunn
junegunn/fzf@99a7beba575bf50170dada5b4681ccaad40263d1 🚀
2024-02-22Fix missing bonus score on a delimiter characterJunegunn Choi
Fix #3645
2024-02-21fzf-tmux: Workaround for tmux 3.4 bugJunegunn Choi
Close #3635 https://github.com/tmux/tmux/pull/3840
2024-02-20Bump github.com/gdamore/tcell/v2 from 2.7.0 to 2.7.1 (#3639)dependabot[bot]
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.7.0 to 2.7.1. - [Release notes](https://github.com/gdamore/tcell/releases) - [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md) - [Commits](https://github.com/gdamore/tcell/compare/v2.7.0...v2.7.1) --- updated-dependencies: - dependency-name: github.com/gdamore/tcell/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19Fix unit testsJunegunn Choi
2024-02-19CHANGELOG: charlievieth/fastwalkJunegunn Choi
2024-02-19Export FZF_* variables to 'reload' process as wellJunegunn Choi
2024-02-18dep: update github.com/charlievieth/fastwalk to v1.0.2 (#3631)Charlie Vieth
This fixes the build for solaris/illumos and removes the extraneous godirwalk dependency.
2024-02-18Deploying to master from @ ↵junegunn
junegunn/fzf@7a72f1a2531d728d14faf5f61909f9ffa63c8dd3 🚀
2024-02-15Code cleanup: Remove unused argumentJunegunn Choi
2024-02-15Replace "default find command" with built-in directory traversalJunegunn Choi
2024-02-15Update README: warp.devJunegunn Choi
2024-02-13Update README: warp.devJunegunn Choi
2024-02-11Bump github.com/rivo/uniseg from 0.4.6 to 0.4.7 (#3623)dependabot[bot]
Bumps [github.com/rivo/uniseg](https://github.com/rivo/uniseg) from 0.4.6 to 0.4.7. - [Release notes](https://github.com/rivo/uniseg/releases) - [Commits](https://github.com/rivo/uniseg/compare/v0.4.6...v0.4.7) --- updated-dependencies: - dependency-name: github.com/rivo/uniseg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-11Bump golang.org/x/term from 0.16.0 to 0.17.0 (#3622)dependabot[bot]
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.16.0 to 0.17.0. - [Commits](https://github.com/golang/term/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-11Bump golang.org/x/sys from 0.16.0 to 0.17.0 (#3621)dependabot[bot]
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.16.0 to 0.17.0. - [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-04Add info about MSYS2 distro to README.md (#3610)Konstantin Podsvirov
2024-02-04Deploying to master from @ ↵junegunn
junegunn/fzf@3c0a6304756e890e0a605b742943a9bb8e1d2247 🚀
2024-02-010.46.10.46.1Junegunn Choi
2024-02-01More test fixes for tcell on GitHub ActionsJunegunn Choi
2024-02-01Fix tests for tcell buildJunegunn Choi
2024-02-01Avoid full redraw on 'preview' action when preview window existsJunegunn Choi
2024-02-01Retain preview window on resize after 'preview' actionJunegunn Choi