mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
docs(dashboard): replace 'hub status' with 'git status' (#310)
## Description When copying the "advanced" or "github" examples for dashboard, there was error 'hub is not recognized' changing ```hub status --short --branch --renames``` to ```git status --short --branch --renames``` fixes that ## Screenshots <!-- Add screenshots of the changes if applicable. -->   --------- Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
parent
66cce2f512
commit
ad62d81c4d
3 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ M.examples.advanced = {
|
|||
enabled = function()
|
||||
return Snacks.git.get_root() ~= nil
|
||||
end,
|
||||
cmd = "hub status --short --branch --renames",
|
||||
cmd = "git status --short --branch --renames",
|
||||
height = 5,
|
||||
padding = 1,
|
||||
ttl = 5 * 60,
|
||||
|
@ -127,7 +127,7 @@ M.examples.github = {
|
|||
{
|
||||
icon = " ",
|
||||
title = "Git Status",
|
||||
cmd = "hub --no-pager diff --stat -B -M -C",
|
||||
cmd = "git --no-pager diff --stat -B -M -C",
|
||||
height = 10,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue