Adds old zsh functions untouched.
This commit is contained in:
9
.zsh_functions/clone
Executable file
9
.zsh_functions/clone
Executable file
@@ -0,0 +1,9 @@
|
||||
clone() {
|
||||
if [ -z "$1" -o "$1" = " " -o -z "$2" -o "$2" = " " ]; then
|
||||
echo "Clones the repo into \$PROJECT_ROOT/<projectName>"
|
||||
echo "usage: clone <repositoryUrl> <projectName>"
|
||||
return
|
||||
fi
|
||||
|
||||
git clone "$1" "$2"
|
||||
}
|
||||
Reference in New Issue
Block a user