Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MacOS Not Working #37

Open
neerajbadlani opened this issue May 10, 2021 · 9 comments
Open

MacOS Not Working #37

neerajbadlani opened this issue May 10, 2021 · 9 comments

Comments

@neerajbadlani
Copy link

I am getting following errors after setup .

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

Any idea ?

@lincheney
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@JulesGM
Copy link

JulesGM commented May 26, 2021

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
Copy link

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
Copy link

vigo commented Jan 31, 2022

did you guys install gawk? brew install gawk ?

@alex-popov-tech
Copy link

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

@cutbypham
Copy link

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
Copy link

vigo commented Apr 21, 2024

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants