Changed
Changed fzf's multi-select marker to * by default. This makes the multi-select marker more distinguishable from the pointer, since both default to >
. (07eb7eb)
Fixed
Fixed bug in extracting variable values containing |
(#81)
# Before fix
$ set variable "a | b | c | d"
$ __fzf_extract_var_info variable (set --show | psub)
set in global scope, unexported, with 1 elements
[1] d
# After fix
$ set variable "a | b | c | d"
$ __fzf_extract_var_info variable (set --show | psub)
set in global scope, unexported, with 1 elements
[1] a | b | c | d
This fix also comes with the first batch of automated tests!
Prevent arguments from being interpreted as options (#80)
Examples where fzf.fish would error:
- the cursor is over the token --something when the user executes search files
- the selected changed path from git status is -folder
This SQL-injection-like bug has been fixed by using --
where necessary to make sure Fish builtins interpret user input as positional arguments rather than options.
Thanks @kidonng for contributing this fix!