[git completions] Sort tags newest-first

This has the nice effect of sorting "2.7.0" before "2.7b1".
This commit is contained in:
Fabian Homborg 2018-03-06 22:05:56 +01:00
parent 5cb3918c1c
commit 88cf7e16c6

View file

@ -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