Skip to content

Tab completion breaks on = character #5363

@dpc

Description

@dpc
[I] 11-22 21:55 dpc@futex ~>   fish --version
fish, version 2.7.1
[I] 11-22 21:55 dpc@futex ~> echo $version
2.7.1
[I] 11-22 21:55 dpc@futex ~> uname -a
Linux futex.dpc.pw 4.14.79 #1-NixOS SMP Sun Nov 4 13:52:51 UTC 2018 x86_64 GNU/Linux
[I] 11-22 21:55 dpc@futex ~> echo $TERM
screen-256color

No change when I use sh -c 'env HOME=$(mktemp -d) fish'.

Reproduce:

mkdir ~/=
cd
ls =/<tab><tab>

The completion is:

dpc@futex /h/dpc> ls =/
=/a      =/dev/   =/mnt/   =/root/  =/sys/  =/var/
=/bin/   =/etc/   =/nix/   =/run/   =/tmp/
=/boot/  =/home/  =/proc/  =/stg/   =/usr/

but as you might have guessed already:

dpc@futex /h/dpc> ls =
a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions