diff --git a/modules/git/functions/git-clonecd b/modules/git/functions/git-clonecd new file mode 100644 index 0000000..4caaff0 --- /dev/null +++ b/modules/git/functions/git-clonecd @@ -0,0 +1,14 @@ +# +# Clone and cd +# +# Authors: +# Daniel Carrillo +# + +# function git-clonecd { + +local url=$1 + +git clone $url && cd "$(basename "$_" .git)" + +# }