Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Do not include final slash on path completion for symlinks to directories #10425

Closed
schuelermine opened this issue Apr 6, 2024 · 2 comments

Comments

@schuelermine
Copy link
Contributor

Many programs have alternate behaviours if a path referring to a symbolic link has a trailing slash.

I believe it is unintuitive that, when using fish’s tab-completion,
the non-slash behaviour occurs on files but not on directories.

I suggest that tab-completion omit the trailing slash if the path is a symbolic link.

@faho
Copy link
Member

faho commented Apr 7, 2024

We use the slash to signal that something is a directory, and to allow you to easily go deeper with your completions.

The "many" commands here are rsync, for the most part.

Sorry, but no.

@faho faho closed this as completed Apr 7, 2024
@faho faho added this to the will-not-implement milestone Apr 7, 2024
@krobelus
Copy link
Member

krobelus commented Apr 7, 2024

good idea, I frequently don't notice that path is a symlink. Some kind of indication would be good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants