fish-shell / fish-shell/fish-shell

Don't autocomplete already supplied arguments

Open
#231 5 comments 1 reaction 0 assignees View on GitHub
completions enhancement RFC
Dominant language
Rust
Stars
34.2k
Forks
2.4k
Avg merge
2d 8h
Merged PRs (30d)
13

Description

There's two files in current working directory:
- [f] a.png
- [f] b.png

When writting command

```
rm [f\]\ a.png [f\]\ b.png
```

I can resort to autocompletions to write command faster.

So instead of writing whole name I can press `[` and then `→`, however when writing second filename it again suggests [f]\ a.png, which is already to be removed. I have to resort to `Tab` then writing `b` and pressing `Tab` again which could be avoided if fish didn't autocomplete filenames that were already supplied.

**EDIT**: Same with ![flags](http://i.minus.com/iPooixFBLGlQR.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.