mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Complete: Typo
@@ -48,7 +48,7 @@ The following can replace fish completion menu with fzf. Because of a [fish bug]
|
|||||||
```
|
```
|
||||||
function fzf-complete -d 'fzf completion and print selection back to commandline'
|
function fzf-complete -d 'fzf completion and print selection back to commandline'
|
||||||
# As of 2.6, fish's "complete" function does not understand
|
# As of 2.6, fish's "complete" function does not understand
|
||||||
# subcommand. Instead, we use the same hack as __fish_complete_subcommand and
|
# subcommands. Instead, we use the same hack as __fish_complete_subcommand and
|
||||||
# extract the subcommand manually.
|
# extract the subcommand manually.
|
||||||
set -l cmd (commandline -co) (commandline -ct)
|
set -l cmd (commandline -co) (commandline -ct)
|
||||||
switch $cmd[1]
|
switch $cmd[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user