lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
632 stars 40 forks source link

MacOS Not Working #37

Open neerajbadlani opened 3 years ago

neerajbadlani commented 3 years ago

I am getting following errors after setup .

[master:.configfiles] git  <TAB>  
-bash: readarray: command not found
-bash: exec: {__evaled}: not found

Any idea ?

lincheney commented 3 years ago

what version of bash do you have? I think macos comes with only an old one installed by default which may be the problem

neerajbadlani commented 3 years ago

No , I have latest installed on mac . its currently

[master:.configfiles] git
-bash: readarray: command not found
-bash: exec: {__evaled}: not found
[master:.configfiles] bash --version
GNU bash, version 5.1.8(1)-release (x86_64-apple-darwin19.6.0)
Copyright (C) 2020 Free Software Foundation, Inc.
lincheney commented 3 years ago

that's odd can you run the following for me: echo $BASH_VERSION and type readarray

JulesGM commented 3 years ago

Same for me.

(base) jules@MBP-Jules:~/Downloads$ type readarray
readarray is a shell builtin
(base) jules@MBP-Jules:~/Downloads$ echo $BASH_VERSION
5.1.4(1)-release
Integralist commented 3 years ago

I'm also seeing issues with Bash version GNU bash, version 5.1.4(1)-release (x86_64-apple-darwin20.2.0) (installed via Homebrew).

I have in my .bashrc:

source ~/.config/fzf/fzf-bash-completion.sh
bind -x '"\t": fzf_bash_completion'

When I reload my shell (i.e. source ~/.bash_profile) and try something like cd <Tab> I'll see only...

Loading matches...

Which flashes up and then disappears.

If on the other hand I open a new macOS terminal.app instance and do cd <Tab> I'll see...

Loading matches ...
[Process completed]

But then this stalls the entire window and I have to close it as I can't type anything else.

vigo commented 2 years ago

did you guys install gawk? brew install gawk ?

alex-popov-tech commented 2 years ago

i have similar problem, but when i press i see fzf_completion:53: command not found: _main_complete

brokenricefilms commented 1 year ago

i have similar problem, but when i press i see fzf_completion:53: command not found: _main_complete

are you have this option?

autoload -U compinit
compinit
vigo commented 4 months ago

star commands don't work; --preview doesn't work ( _fzf_comprun() ). kill -9 ** doesn't work. most of the fzf features doesn't work. i'm on brew's bash (5.2.6), using with coreutils; GNU Awk 5.3.0 gsed (GNU sed) 4.9 ggrep (GNU grep) 3.11

i hope there will be a fix soon, i love this tab-completion