summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2025-01-19[fish] Allow setting multi-select and list reload for history (#4179)bitraid
* [fish] Drop support for versions older than 3.0b1 * [fish] Use `set` instead of `read` for `$result` This effectively makes CTRL-R non-blocking (the previous attempt was unsuccessful). * [fish] Allow FZF_CTRL_R_OPTS to set multi-select
2025-01-18[fish] CTRL-R: Make loading non-blockingJunegunn Choi
2025-01-12[fish] Optimize history formatting without perl (#4171)bitraid
2025-01-10[fish] Fix history formatting when perl is missing (#4166)bitraid
Don't add tab after escaped newline.
2025-01-09[fish] remove defunct bind feature detection (#4165)Kid
2024-12-20[fish] Partly revert change of 0167691 (#4137)bitraid
Don't use the `-f` switch of `string split`, because it was added in fish version 3.2.0.
2024-12-19[fish] Small syntax modification of some commandsbitraid
No actual change, just for consistency with the rest of the code.
2024-12-19[fish] Enable home dir expansion of leading ~/bitraid
Enable expanding to user's home directory, when pressing <Ctrl-T> or <Alt-C>, and the current command line token starts with `~/`.
2024-12-19[fish] Don't strip leading dot (.) characterbitraid
Fix the removal of the leading dot character from the query, when <Ctrl-T> was pressed and the current command line token started with a dot. It was also removed when <Alt-C> was pressed and the directory didn't exist under the current path.
2024-12-03chore: completion test command sequence (#4115)LangLangBart
cleanup zsh global scope
2024-11-18[fish] Enable keys for scripts that use readbitraid
Remove the check that exits when the shell is non-interactive, so that the key bindings will work for the read command, when used by scripts.
2024-11-18[fish] Use more native syntaxbitraid
Mainly, replace [ with test. Also, change $FZF_TMUX check from numeric to string, so that it won't show error if doesn't contain a number.
2024-11-18[fish] Format history using builtins if perl is missingbitraid
2024-11-18[fish] Replace external commands with builtinsbitraid
- Use `string collect` instead of cat to get the contents of $FZF_DEFAULT_OPTS_FILE. Also, check if the file is readable first. - Use `string split` instead of cut to set $FISH_MAJOR, $FISH_MINOR. - Use `string replace` instead of perl to strip leading tabs.
2024-11-18[fish] Improve commandline parsingbitraid
- Enable using unescaped quotes for exact-match, exact-boundary-match. - Enable suffix-exact-match. - Enable inverse-exact-match, inverse-prefix/suffix-exact-match. - Allow searching for double quotes and backslashes. - Combine multiple consecutive slashes into one. - Workaround for test command bug, allowing $dir or $commandline be a single `!`.
2024-11-14fix(zsh): handle backtick trigger edge case (#4090)LangLangBart
2024-11-14revert(zsh): remove 'fc -RI' call in the history widget (#4093)LangLangBart
2024-11-12Fix zsh $+name syntax does not work with setopt ksh_arrays (#4084)林千里
2024-11-10Enhance command extraction in zsh completion (#4082)LangLangBart
Fix #1992
2024-11-02fix(zsh): move 'fc -RI' inside command substitution (#4073)LangLangBart
* fix(zsh): move 'fc -RI' inside command substitution * chore: follow existing option check format
2024-11-01fix(zsh): history loading with shared option (#4071)LangLangBart
Fix #4061
2024-10-15Use eval to evaluate $post variable as command. (#4023)Thomas Martitz
2024-09-23[bash] Fix infinite retry loop for completion setting without "-F func" (#4004)Koichi Murase
2024-08-22[bash] Revert skipping setting up fuzzy path completionJunegunn Choi
This partially reverts a2d0e8f not to break backward compatibility.
2024-08-11[bash] Enable fuzzy path completion for all commands (#3958)Junegunn Choi
All commands with no custom completion defined. Close #3957
2024-08-07fix: Add fallback for cygwin ps (#3955)Eduardo D Sanchez
2024-07-17fix(fish): partially revert dbe8dc3 by removing the 'builtin' for cdLangLangBart
2024-07-08[bash] Add code to the default list of programs to support completionJunegunn Choi
Close #3843
2024-07-08Bind CTRL-/ and ALT-/ to toggle-wrap by defaultJunegunn Choi
2024-07-06[completion] Use --wrap option in process completionJunegunn Choi
And remove the short preview window for showing the whole command. Because it is important to be able to see the whole command before deciding to kill it.
2024-07-05[zsh] Fix backslash escaping (#3909)Junegunn Choi
Fix #3859 To test: FZF_CTRL_T_COMMAND="echo -E 'foo\bar\baz'; echo -E 'hello\world'" _fzf_compgen_path() { eval $FZF_CTRL_T_COMMAND } source shell/key-bindings.zsh source shell/completion.zsh
2024-07-03fix(zsh): use the '=~' operator instead of grep (#3906)LangLangBart
2024-06-28[zsh] Fix completion error on openSUSE TumbleweedJunegunn Choi
Fix suggested by @LangLangBart Fix #3890
2024-06-24fix zsh ${(@)history} syntax does not work with ksh_arrays (#3893)林千里
When `setopt ksh_arrays` in zsh, `${(@kv)history}` gives only the first entry rather than all.
2024-06-20fix(zsh): add (s) modifier to perl command (#3882)LangLangBart
2024-06-19Remove comment in command substitution (#3875)Hexin
2024-06-13chore(shell): Separate declaration and assignment for zsh legacy versions ↵LangLangBart
(#3856)
2024-06-13[zsh] Prevent glob expansion in history widget (#3855)Samara Jinnah
2024-06-12[fish] Merge history before searching (#3852)ismay
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-06-03Add new options to bash completionJunegunn Choi
2024-06-01[fish] Use builtins for cd and history (#3830)LangLangBart
Close #3826
2024-05-31[zsh] Enhance CTRL-R to display multi-line entires (#3823)LangLangBart
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-05-31[fish] Add --nth 2..,.. to allow anchored search against commandJunegunn Choi
2024-05-31[bash] Indent multi-line history entriesJunegunn Choi
2024-05-30[fish] Use perl instead of sed to strip leading tabsJunegunn Choi
https://github.com/junegunn/fzf/pull/3807#discussion_r1619520105
2024-05-29[fish] Better multi-line support for CTRL-RJunegunn Choi
Prepend each entry with an index number so that multi-line entries can be clearly distinguished.
2024-05-29[shell] Add --highlight-line to CTRL-R bindingsJunegunn Choi
2024-05-09chore: Update flags to include long-form options for case (#3785)LangLangBart
2024-05-07[shell] Add $FZF_COMPLETION_{DIR,PATH}_OPTSJunegunn Choi
To allow separately overriding 'walker' options. Close #3778
2024-04-27[completion] Add undocumented bash variables for completion commandsJunegunn Choi
And allow empty FZF_COMPLETION_DIR_COMMANDS