Skip to content

[Bug]: Also handle directory passed to fish #8258

@thunder-coding

Description

@thunder-coding

Steps to reproduce

cd $TMPDIR
fish .

Passing any folder/directory to fish results in a infinite loop where fish keeps saying error: Unable to read input file: Is a directory

FLOGF(error, _(L"Unable to read input file: %s"), strerror(err));

This is the file where the problem needs to be solved

What should be done when a directory is passed to fish

Fish should set the current directory to the supplied directory passed through command line

Platforms I confirmed the bug on

  • Android 11 Termux fish 3.3.1
  • Android 7 Termux fish 3.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions