Skip to content
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

fixing the --short-version glitches #527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Bastes
Copy link

@Bastes Bastes commented Sep 4, 2024

This fixes the --short-version glitches referenced in issue #526

Description

Redirecting errors on elixir --short-version to /dev/null seems to fix the problem on my machines I've tested on.

Motivation and Context

Closes #526 (see for more details)

How Has This Been Tested

  • I have tested using Linux.
  • I have tested using MacOS.

Adding the 2> /dev/null redirection on both platforms makes the glitch disappears: no more unrequired additional new line added after the prompt, sometimes interrupting a command being typed nor --short-version : Unknown option error being haphazardly displayed.

Checklist

  • I am ready to update the wiki accordingly.
  • I have updated the tests accordingly.

Sorry, I don't know quite how to write tests for fish scripting, especially how to address such a glitch. As for the wiki, this being a bug fix, I'm not sure there needs to be an update? Let me know 🙂

@Bastes Bastes requested a review from IlanCosman as a code owner September 4, 2024 07:42
@Bastes
Copy link
Author

Bastes commented Dec 3, 2024

Hey :) just attempting to catch the attention of a reviewer, I don't mind using my own fork but if I'm not the only one the bug was... bugging, this would help.

Let me know if you've got feedback to take care of before merging, if I missed a guideline or something, I'm never above improving ;)

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

Successfully merging this pull request may close these issues.

Elixir icon: --short-version : Unknown option
1 participant