Skip to content

Commit

Permalink
Add missing 'commit' sub-command in bash completions (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyderic committed Feb 27, 2024
1 parent 023bc7d commit 86b95ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/vcsh.bash
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ _vcsh () {
for r in "${reponames[@]}"; do repos["$r"]="$r"; done
unset r reponames
local cmds
cmds="clone delete enter foreach help init list list-tracked list-untracked pull push rename run status upgrade version which write-gitignore"
cmds="clone delete enter foreach help init commit list list-tracked list-untracked pull push rename run status upgrade version which write-gitignore"

local subcword cmd subcmd
for (( subcword=1; subcword < ${#words[@]}-1; subcword++ )); do
Expand Down Expand Up @@ -94,7 +94,7 @@ _vcsh () {
fi

case $cmd in
help|init|list|pull|push|version|which)
help|init|commit|list|pull|push|version|which)
return
;;

Expand Down

0 comments on commit 86b95ed

Please sign in to comment.