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

Don't alias update as "upgrade" #4036

Closed
maoschanz opened this issue Dec 19, 2020 · 2 comments · Fixed by #4587
Closed

Don't alias update as "upgrade" #4036

maoschanz opened this issue Dec 19, 2020 · 2 comments · Fixed by #4587

Comments

@maoschanz
Copy link

Linux distribution and version

debian sid

Flatpak version

1.8.3

Description of the problem

I want to type flatpak update, but pressing tab doesn't autocomplete because of the "upgrade" alias.

This problem feels even more absurd when you consider that both options do the same thing: i have to input at least 2 more keys for literally nothing

Suggestions of possible solutions:

  • get rid of the useless alias
  • only autocomplete actual commands, not aliases
  • alias update as "up" so i can validate the command even when autocompletion gets stuck
@alexlarsson
Copy link
Member

Yeah, i think it shouldn't autocomplete on aliases.

@maoschanz
Copy link
Author

maoschanz commented Dec 21, 2020

i forgot about it when opening the issue, but this inconvenience also exists with the "remote-something" commands and the "remove" alias, though it's not something i often use (and it's less frustrating, they're not both doing the same)

mwleeds added a commit that referenced this issue Nov 18, 2021
alexlarsson pushed a commit that referenced this issue Nov 18, 2021
smcv pushed a commit to smcv/flatpak that referenced this issue Jan 4, 2022
smcv pushed a commit to smcv/flatpak that referenced this issue Jan 4, 2022
mwleeds added a commit that referenced this issue Jan 4, 2022
Fixes #4036

(cherry picked from commit 2c4c84f)
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

Successfully merging a pull request may close this issue.

2 participants