Skip to content

The txtEdit Alias Should Always Call Default Text Editor #44

Description

@ReedClanton

##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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions