File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
- PowerShell: handle UTF-8 encoding correctly.
17
17
- Zsh: don't hide output from ` chpwd ` hooks.
18
18
- Nushell: upgrade minimum supported version to v0.73.0.
19
+ - Zsh: fix extra space in interactive completions when no match is found.
20
+ - Fzf: ` <TAB> ` now cycles through completions.
19
21
20
22
## [ 0.8.3] - 2022-09-02
21
23
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ impl Fzf {
30
30
#[ cfg( not( windows) ) ]
31
31
let mut command = Command :: new ( "fzf" ) ;
32
32
if multiple {
33
- command. arg ( "-m" ) ;
33
+ command. arg ( "--multi" ) ;
34
+ } else {
35
+ command. arg ( "--bind=tab:down,btab:up" ) ;
34
36
}
35
37
command. arg ( "--nth=2.." ) . stdin ( Stdio :: piped ( ) ) . stdout ( Stdio :: piped ( ) ) ;
36
38
if let Some ( fzf_opts) = config:: fzf_opts ( ) {
@@ -40,6 +42,7 @@ impl Fzf {
40
42
// Search result
41
43
"--no-sort" ,
42
44
// Interface
45
+ "--cycle" ,
43
46
"--keep-right" ,
44
47
// Layout
45
48
"--height=50%" ,
Original file line number Diff line number Diff line change @@ -112,11 +112,7 @@ if [[ -o zle ]]; then
112
112
# shellcheck disable=SC2296
113
113
compadd -Q "${(q-)result}"
114
114
else
115
- {#-
116
- zsh-autocomplete calls the completion function multiple times if no match is
117
- returned.
118
- #}
119
- compadd ""
115
+ return 0
120
116
fi
121
117
\builtin printf '\e[5n'
122
118
fi
You can’t perform that action at this time.
0 commit comments