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

Merge branch 'zsh-completion'

parents f0b49541 ff2d978a
No related branches found
No related tags found
No related merge requests found
......@@ -45,12 +45,17 @@ function _vcsh-list-tracked-by () {
function _vcsh-rename () {
(( CURRENT == 2 )) && __vcsh_repositories
#TODO tell the user to add a new name
(( CURRENT == 3 )) && _message "new repository name"
(( CURRENT > 3 )) && _nothing
}
function _vcsh-run () {
(( CURRENT == 2 )) && __vcsh_repositories
#TODO normal commands
if (( CURRENT >= 3 )); then
words=( "${(@)words[3,-1]}" )
(( CURRENT -= 2 ))
_complete
fi
}
function _vcsh-setup () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment