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

The txtEdit Alias Should Always Call Default Text Editor #44

Open
ReedClanton opened this issue Apr 11, 2023 · 0 comments
Open

The txtEdit Alias Should Always Call Default Text Editor #44

ReedClanton opened this issue Apr 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ReedClanton
Copy link
Owner

ReedClanton commented Apr 11, 2023

##Describe the Bug##

The txtEdit alias currently only works when you pass it an existing file with the txt, sh, and I'm sure a few other extensions. It doesn't work for other extensions like md.

##To Reproduce##

Steps to reproduce the behavior:

  1. Open terminal
  2. Enter txtEdit .md
  3. File doesn't open in the default text editor.

##Expected Behavior##

File should open in default text editor.

##Actual Behavior##

The bellow is printed to the terminal, no window pops up, and no tab is opened if the default text editor is already open. Finally, ctrl + c or enter must be entered to return to your terminal prompt.

Screenshot from 2023-04-11 17-42-42

##Screenshots##

None

##Environment##

  • OS:
    • Name: Fedora
    • Version: 37
  • Shell:
    • Name: bash
    • Version: 5.2.15(1)-release

##Blocked By##

None

##Blocking##

None

##Additional Context##

There is a TODO in the alias file with this issue's ID.

@ReedClanton ReedClanton added the bug Something isn't working label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant