mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
[git completions] Sort tags newest-first
This has the nice effect of sorting "2.7.0" before "2.7b1".
This commit is contained in:
parent
5cb3918c1c
commit
88cf7e16c6
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function __fish_git_branches
|
|||
end
|
||||
|
||||
function __fish_git_tags
|
||||
command git tag ^/dev/null
|
||||
command git tag --sort=-creatordate ^/dev/null
|
||||
end
|
||||
|
||||
function __fish_git_dir
|
||||
|
|
Loading…
Reference in a new issue