-
Notifications
You must be signed in to change notification settings - Fork 2.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
[Bug]: bash: /tmp/alias_completion-23769qilp1o: line 978: unexpected EOF while looking for matching `'' #2254
Comments
Does the problem only happen when ble.sh is enabled? What are the outputs of the following commands? $ alias -p
$ ls -l /tmp/alias_completion-* |
Yeah, it only happens when ble.sh is enabled. Here are my outputs:
|
Thanks. What is the result of the following command? $ ble/widget/display-shell-version The temporary files seem to remain, so I think it would be easier to look into that. Could you attach the file Note: there seem to be many other similar files, but please make sure to choose |
Here is the output: ble.sh, version 0.4.0-devel4+365101cf (noarch) [git 2.39.2, GNU Make 4.3, GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.0, GNU MP 6.2.1)]
bash-completion, version 2.11 (hash:aefcfdd4b924e8b03db0d49be8bdb5881ad7d0cd, 77084 bytes) (noarch)
bash-preexec, (hash:5f1208c33e624859eea70e3843bd9b8c9a06819e, 13046 bytes) (noarch)
bash-it, version +d985e4c9 (noarch), alias(apt docker docker-compose general), completion(aliases bash-it system), plugin(base blesh docker-compose docker explain fzf git history-eternal thefuck)
locale: LANG=en_US.UTF-8
terminal: TERM=xterm-256color wcwidth=12.1-west/15.1-2+ri, xterm:276 (0;276;0) Here is the contents for What do you mean by choosing exactly? I thought that these files are autogeneriated when using any of the build in aliases. |
Thanks. I'll take a look.
Your
Yes. I guess they would probably cause the same issue, but I can't say they cause the present problem 100%. Also the hint for the line number |
Thanks.
Ah, I get what you were saying now. Had a brain fart lol. |
This is an issue of the
The variables I'm not sure if it will be fixed in Bash-it because I don't see the activity of the Bash-it maintainers recent years. At least, I guess it would take months to have it fixed. If you don't use $ bash-it disable completion aliases |
Thanks for looking at it for me.
Hmm,I see.
I don't mind fixing a bug myself, but the bash-it system is kind of complex and I am not very well versed in bash yet. I'll give a crack at it and see if I can get something to work though. It doesn't really impact my productivity but it stands out haha. |
Used Claude and ChatGPT to help me get close to fixing the issue.
|
Expected behavior
source .bashrc doesn't work without errors.
Current behavior
Currently when I do source .bashrc it gives me the following error,
bash: /tmp/alias_completion-23769qilp1o: line 978: unexpected EOF while looking for matching
''`Possible solution
No response
Context
I have a fresh install plus I have ble.sh plugin turned on and ble.sh installed.
Steps to reproduce
Install bash-it with --silent flag. Install ble.sh and then enable add-on. Do source .bashrc.
Bash-it version
d985e4c
List of enabled plugins, themes and aliases
base, oh-my-posh
Bash version
5.2.15
Operating system and version
Debian GNU/Linux 12
bash-it doctor output
Your ~/.bashrc
Notes
No response
The text was updated successfully, but these errors were encountered: