All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9a55a9d)
* Has been tested on my and other's machines for months
* Includes zsh completion
* Does not support `vcsh use`, but in a releasable state otherwise
_arguments \
':subcommand:((
help\:"display help"
list\:"list all repos"
_arguments \
':subcommand:((
help\:"display help"
list\:"list all repos"
run\:"run command on repo"
init\:"init & clone from repo"
clone\:"clone from repo"
run\:"run command on repo"
init\:"init & clone from repo"
clone\:"clone from repo"
if [ "$VCSH_DEBUG" = '1' ] || [ "$VCSH_VERBOSE" = '1' ]; then echo "$SELF: verbose: $1"; fi
}
if [ "$VCSH_DEBUG" = '1' ] || [ "$VCSH_VERBOSE" = '1' ]; then echo "$SELF: verbose: $1"; fi
}
+# use <repo> Use this repository
help() {
echo "usage: $SELF <args>
help() {
echo "usage: $SELF <args>
- use <repo> Use this repository
run <repo>
<command> Use this repository
run <repo>
<command> Use this repository
-elif [ "$1" = 'use' ]; then
- verbose "use begin"
- if [ -n "$ZSH_VERSION" ]; then
- if [ -o NO_IGNORE_EOF ]; then
- export VCSH_NO_IGNORE_EOF=1
- setopt IGNORE_EOF
- fi
- vcsh_exit() {
- vcsh exit;
- zle reset-prompt;
- }
- zle -N vcsh_exit
- bindkey '^d' 'vcsh_exit'
- fi
- use $2
- [ -n "$ZSH_VERSION" ] && [ "$USER" = richih ] && buildPS1
- verbose "use end"
- exit 0
+#elif [ "$1" = 'use' ]; then
+# verbose "use begin"
+# if [ -n "$ZSH_VERSION" ]; then
+# if [ -o NO_IGNORE_EOF ]; then
+# export VCSH_NO_IGNORE_EOF=1
+# setopt IGNORE_EOF
+# fi
+# vcsh_exit() {
+# vcsh exit;
+# zle reset-prompt;
+# }
+# zle -N vcsh_exit
+# bindkey '^d' 'vcsh_exit'
+# fi
+# use $2
+# [ -n "$ZSH_VERSION" ] && [ "$USER" = richih ] && buildPS1
+# verbose "use end"
+# exit 0
elif [ "$1" = 'clone' ]; then
verbose "clone begin"
elif [ "$1" = 'clone' ]; then
verbose "clone begin"