Skip to content

Conversation

@joseluisq
Copy link
Owner

This MR prevents the default local branch list sorting (alphabetical order) in completions (current behaviour) and preserves git branch sorting by recency instead (via __fish_git_branches).

Those changes will help navigate to latest committed branches quickly in completions when using either move, merge or tag commands. In particular, when having many local branches.
See Fish shell complete command for more details.

Commands affected:

  • merge
  • move
  • tag

This prevents default completions sorting (alphabetical order) and
preserves git branch sorting by recency, which helps move to the
latest committed branches quickly.

Commands affected:

- merge
- move
- tag
@joseluisq joseluisq self-assigned this Jul 15, 2025
@joseluisq joseluisq added the enhancement New feature or request label Jul 15, 2025
@joseluisq joseluisq merged commit 7e4d746 into master Jul 15, 2025
4 checks passed
@joseluisq joseluisq deleted the keep-arguments-oder-of-some-coomands branch July 17, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants