Skip to content

Commit

Permalink
fix(zsh-autocomp): update completions
Browse files Browse the repository at this point in the history
  • Loading branch information
minh committed Jul 29, 2024
1 parent d31f06f commit 69fafd2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/resources/_gis
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,17 @@ function _suggest_branches {
}

function _gis_branches_suggest {
_arguments "-nn[do not print module name]"
_arguments \
"--include-remotes[include remote branches]" \
"--no-module-name[do not print module name]"
}

function _gis_status_suggest {
_arguments "--one-line[print result in one line]"
_arguments \
"--one-line[print result in one line]" \
"--sort=[Valid values: module_name, branch_name, tracking_status]"
}

function _gis_stash_suggest {
_arguments "-pp[pop first stashed changes]"
_arguments "--pop[pop first stashed changes]"
}

0 comments on commit 69fafd2

Please sign in to comment.