mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user