Skip to content

Strange side effect of read #8285

@lsoksane

Description

@lsoksane

I get strange behaviour when I run

read; git clone https://myusername@git.overleaf.com/myrepository

Git asks for a password and when I paste it in MATE Terminal it is not recognized. If I type the password it works. Everything works if I remove read; in the beginning, or if I replace it with fish -c read.

Here is some context:

fish --version
fish, version 3.2.2

echo $version
3.2.2

uname -a
Linux lo-xps 5.4.0-81-generic #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

mate-terminal --version
MATE Terminal 1.20.0

Running with

sh -c 'env HOME=$(mktemp -d) fish'

didn't affect the behaviour.

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