-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Use insectrc in non-interactive operation #377
Comments
Thank you for reporting this. |
triallax
added a commit
to triallax/insect
that referenced
this issue
Jul 7, 2023
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've been considered an error. - Use insectrc in non-interactive mode too. Fixes sharkdp#377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/ insectrc). Fixes sharkdp#307. - Exit with non-zero exit code if evaluating argument fails.
triallax
added a commit
to triallax/insect
that referenced
this issue
Jul 7, 2023
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've caused an error. - Use insectrc in non-interactive mode too. Fixes sharkdp#377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/insectrc). Fixes sharkdp#307. - Exit with non-zero exit code if evaluating argument fails.
triallax
added a commit
to triallax/insect
that referenced
this issue
Jul 21, 2023
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've caused an error. - Use insectrc in non-interactive mode too. Fixes sharkdp#377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/insectrc). Fixes sharkdp#307. - Exit with non-zero exit code if evaluating argument fails.
triallax
added a commit
that referenced
this issue
Jul 22, 2023
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've caused an error. - Use insectrc in non-interactive mode too. Fixes #377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/insectrc). Fixes #307. - Exit with non-zero exit code if evaluating argument fails.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Defining a single function in
.insectrc
as:and attempting to run
insect "logb(4,2)"
what I get is
Parse error at position 7: Expected ")"
. When I do so inside the interactive shell, I getThe text was updated successfully, but these errors were encountered: