diff --git a/vcsh b/vcsh
index b5e703eddc9f0a03ecae035c9ef3a93411471aaf..c8618f19929af1af3ff9cee296ecad9b3325f251 100755
--- a/vcsh
+++ b/vcsh
@@ -83,6 +83,7 @@ leave() {
 
 
 if [ "$1" = 'clone' ]; then
+	export VCSH_COMMAND="$1"
 	GIT_REMOTE="$2"
 	export GIT_REMOTE
 	VCSH_REPO_NAME="$3"