Skip to content
Snippets Groups Projects
Commit fe122a26 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

_vcsh: Add completion for `list-untracked` and `status`

parent 3a72a809
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,10 @@ function _vcsh-list-tracked-by () { ...@@ -43,6 +43,10 @@ function _vcsh-list-tracked-by () {
(( CURRENT == 2 )) && __vcsh_repositories (( CURRENT == 2 )) && __vcsh_repositories
} }
function _vcsh-list-untracked () {
_nothing
}
function _vcsh-pull () { function _vcsh-pull () {
_nothing _nothing
} }
...@@ -66,6 +70,10 @@ function _vcsh-run () { ...@@ -66,6 +70,10 @@ function _vcsh-run () {
fi fi
} }
function _vcsh-status () {
(( CURRENT == 2 )) && __vcsh_repositories
}
function _vcsh-upgrade () { function _vcsh-upgrade () {
(( CURRENT == 2 )) && __vcsh_repositories (( CURRENT == 2 )) && __vcsh_repositories
} }
...@@ -97,6 +105,7 @@ function _vcsh () { ...@@ -97,6 +105,7 @@ function _vcsh () {
"list:list all local vcsh repositories" "list:list all local vcsh repositories"
"list-tracked:list all files tracked by vcsh" "list-tracked:list all files tracked by vcsh"
"list-tracked-by:list files tracked by a repository" "list-tracked-by:list files tracked by a repository"
"list-untracked:list all files not tracked by vcsh"
"pull:pull from all vcsh remotes" "pull:pull from all vcsh remotes"
"push:push to vcsh remotes" "push:push to vcsh remotes"
"rename:rename a repository" "rename:rename a repository"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment