X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/7b0d7078dbba136a383f4f4345c9fd6474069607..c05b582232936e006b88595b36aa8318a53b2f7e:/vcsh diff --git a/vcsh b/vcsh index 46622af..238e4c88 100755 --- a/vcsh +++ b/vcsh @@ -217,7 +217,7 @@ elif [ "$1" = 'delete' ] || elif [ "$1" = 'list' ] || [ "$1" = 'list-tracked' ]; then export VCSH_COMMAND="$1" -elif [ -n "$1" -a -n "$2" ]; then +elif [ -n "$2" ]; then export VCSH_COMMAND='run' export VCSH_REPO_NAME="$1" export GIT_DIR="$VCSH_BASE/$VCSH_REPO_NAME.git"