-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bat - filename completion script issue with init_completion error #2066
Comments
Just in case anyone sees this and doesn't click through to the linked PR, I found out I had I use homebrew, so I uninstalled |
Thanks @myobie . This works for me. I uninstalled my |
Closed by #2074 |
@Enselic Are you sure you wanted to close this one? I'm suddenly getting a very similar behaviour from bat 0.20.0 (homebrew install on macOS 12.2): Attempting to show the contents of .bash_profile, hit tab after typing $ bat .bash_p-bash: _split_longopt: command not found
-bash: _filedir: command not found (Edit to add: I already had |
Thank you for reporting. Why call it "very similar" though? Looks like a different issue. Would be great if you or someone else can reproduce this on another machine. If so, it would be great if you could report it as a separate issue. |
Filed #2147 for this related issue, as I believe it was the fix that introduced my issue. |
For anyone else coming to this issue: replacing |
When I try to do autocomplete for the filename when using
bat
, I encounter init_completion issue. This happens iniTerm2. Strangely, in my regular terminal, it works fine. It happens the same to my regular terminal.Let's say I am trying to use bat to check
package.json
.This is what comes up after I click after typing
bat pac
...
I would expect filename auto completion works fine
in iTerm2 as it does in regular terminal....
I install bat using homebrew and using it on iTerm2.
iTerm version: iTerm2 Build 3.4.15
Environment variables
Config file
Could not read contents of '/Users/apradana/.config/bat/config': No such file or directory (os error 2).
Compile time information
Less version
The text was updated successfully, but these errors were encountered: