From 88cf7e16c61e9b7105fbeffc13fb9d1311ad32eb Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 6 Mar 2018 22:05:56 +0100 Subject: [PATCH] [git completions] Sort tags newest-first This has the nice effect of sorting "2.7.0" before "2.7b1". --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index 77faf74e2..45d8dc74c 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -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