diff --git a/_vcsh b/_vcsh index c6efe6fdc4b41fd25ce4feb8a678297f4f329149..f5ab347a4ced8c3fa98dc78c30dd9f9220e463ac 100644 --- a/_vcsh +++ b/_vcsh @@ -8,6 +8,8 @@ _arguments \ enter\:"Enter repo; spawn new \$SHELL" init\:"init & clone from repo" list\:"list all repos" + list-tracked\:"list all files tracked by vcsh" + list-tracked-by\:"list files tracked by a repo" rename\:"rename repo" run\:"run command on repo" seed-gitignore\:"seed .gitignore.d/foo from git ls-files" diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn index 0ea94286e26fc64ca2e8b4637dbd9b3976031b41..e434b3c0f732e4b03e8d66c70173bf6ad16dc68c 100644 --- a/doc/vcsh.1.ronn +++ b/doc/vcsh.1.ronn @@ -15,6 +15,10 @@ vcsh(1) - manage and sync config files via git `vcsh` list +`vcsh` list-tracked + +`vcsh` list-tracked-by <repo> + `vcsh` rename <repo> <newname> `vcsh` run <repo> <command> @@ -68,6 +72,12 @@ an interactive user. * list: List all local vcsh repositories. +* list-tracked: + List all files tracked by vcsh. + +* list-tracked-by: + List files tracked by a repository. + * rename: Rename a repository. diff --git a/vcsh b/vcsh index b0ffb64c3eee3e132be31ea945be20552308f7d9..60bcc41f727aad5784c8ea4fe37f75e31f6ff798 100755 --- a/vcsh +++ b/vcsh @@ -16,6 +16,9 @@ help() { enter Enter repository; spawn new $SHELL init <repo> Initialize a new repository list List all repositories + list-tracked List all files tracked by vcsh + list-tracked-by \\ + <repo> List files tracked by a repository rename <repo> \\ <newname> Rename repository run <repo> \\