functions starting with @ don't work correctly
Author: peachey2k2Created May 7, 2025Updated Aug 14, 2025
What happened, and what did you expect to happen?
When I define a function that starts with the character @, it does get parsed with no issues. However, when I try to use the function, I get an error
~> fn @test {|| echo "hello"}
~> @test
Exception: exec: "@test": executable file not found in $PATH
[tty 6]:1:1-5: @testThe weird part is that if I tab complete from an empty string, it does show up (otherwise it doesn't show up in there either)
I'm pretty new to elvish and don't know if not being able to do this is intended, but it definitely doesn't feel like so.
Output of "elvish -version"
0.21.0
Code of Conduct
- I agree to follow Elvish's Code of Conduct.
Source: elves/elvish