| Age | Commit message (Collapse) | Author |
|
Fixes #1278
|
|
awk may not set OFS to match FS depending on the implementation.
Close #1227
|
|
This compensates the use of --tac. fzf will not render on the screen
until the complete list of commands are loaded.
|
|
Shebangs are only for files that are directly executable. In cases
where files are only sourced (such as completion scripts), these
are unneeded.
|
|
Close #1216
1. Append a single space so that step 3 won't fail
2. CTRL-E to move to the end of the line
3. CTRL-U to delete the whole line before the cursor
4. CTRL-Y to paste the deleted line
5. ESC+Y to rotate the kill ring and bring back the previous yank before step 3
6. CTRL-U to delete the whole line again
7. Paste `__fzf_history__`
8. ESC+CTRL-E to expand the command substitution
9. ESC+R to redraw the line
10. ESC+^ to expand the history entry (!NUMBER)
|
|
Close #1203
|
|
Close #681
|
|
After _completion_loader is called, instead of loading the entire
completion.bash file, just restore the fzf completion for the current
command. `_fzf_orig_completion_$cmd` is only set if _completion_loader
actually changed the completion options to avoid infinite loop.
Close #1170
|
|
Fixes #915
|
|
When `ps` is aliased for something uncommon, like `alias ps=grc ps` which colorizes ps output, the output of `ps` can be unexpected and/or undesired.
This change makes ps to be always executed as command, even if it's aliased.
|
|
Reference: http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html
> The flag -r reverses the order of the events
|
|
Handles records like "[20.20.7.168]:9722 ssh-rsa ..."
This is a standard format for servers running on custom port according to http://man.openbsd.org/sshd.8#SSH_KNOWN_HOSTS_FILE_FORMAT
A hostname or address may optionally be enclosed within ‘[’ and ‘]’
brackets then followed by ‘:’ and a non-standard port number.
|
|
* Don't do shell quoting for weird chars
This would prevent tabs from being escaped as `$'\t'` (definitely not what I would want to see as initial value in the search).
* Do different escape.
|
|
|
|
This reverts commit 376a76d1d3c39a1686b6ac7a6118c1f80af3178e as it
affects normal completion
|
|
Close #990
|
|
Close #966
|
|
This also modifies <C-t> behaviour.
The longest file path in the input is used as root directory for `find`
command. The remainder of the input is passed to fzf's --query as a
initial search parameters.
|
|
Fix found by @amosbird at https://github.com/junegunn/fzf/issues/953#issuecomment-310309055
closes #440
|
|
If "." is given as the argument to begin <C-t> completion, the leading
"." is not correctly removed. In general, if user selects a fzf
completion, the current token should be "consumed".
|
|
Close #943
|
|
Close #903
Related #135
|
|
Signed-off-by: Sam Van Den Berge <sam@drgt.net>
|
|
Close #858
https://github.com/junegunn/fzf/commit/3a6af27586c65bb9243c5af7c43a40619503db52#commitcomment-21135641
|
|
This reverts commit 3a6af27586c65bb9243c5af7c43a40619503db52.
|
|
CTRL-R binding used to start with --no-sort to list the matched commands
in chronological order. However, it has been a constant source of
confusion. Let's enable it by default from now on. The sorted result
shouldn't be too confusing as we use --tiebreak=index.
|
|
Close #858
|
|
|
|
|
|
|
|
Related #822
|
|
|
|
https://github.com/mattn/go-shellwords/issues/3
Close #812
|
|
Close #807
|
|
Related #807
|
|
|
|
|
|
|
|
Ref #790
|
|
Close #799
|
|
|
|
Close #791
|
|
|
|
_fzf_completion_loaded is no longer checked. This change increases the
load time by a few milliseconds, but I can't think of a better way to
handle the issue.
Close #783.
|
|
This removes the need for the 'sed' call. Faster, cleaner.
|
|
Replace the "temp file" workaround with the "read" function: it's
simpler and faster.
Use proper escaping, remove the custom function.
The "file" widget uses last token as root for the "find" command.
This replaces the equivalent of '**' completion in bash/zsh.
The "$dir" non-expanded variable can be used in FZF_CTRL_T_COMMAND to
set the root.
|
|
`-fstype dev` is invalid. It's devfs on macOS and devtmpfs on Linux.
|
|
|
|
It doesn't short circuit like we expect, causing trouble when $dir is
empty
Use shell builtin instead
|
|
|