1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2026-01-18 18:14:25 +00:00

[git] Add git-clonecd function

This commit is contained in:
2026-01-15 16:52:10 +01:00
parent c620ff7846
commit b2b094de7f

View File

@@ -0,0 +1,14 @@
#
# Clone and cd
#
# Authors:
# Daniel Carrillo <daniel.carrillo@gmail.com>
#
# function git-clonecd {
local url=$1
git clone $url && cd "$(basename "$_" .git)"
# }