mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Merge 09cbfa0a52 into 45a9f28464
This commit is contained in:
commit
2b591f7bac
1 changed files with 7 additions and 0 deletions
|
|
@ -74,5 +74,12 @@ git.io() {
|
||||||
curl -i -s https://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "
|
curl -i -s https://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# clone_gh [AUTHOR/NAME_OF_REPO] [DIRECTORY]
|
||||||
|
#
|
||||||
|
# use this when clone repo
|
||||||
|
clone_gh() { # [AUTHOR/NAME_OF_REPO]
|
||||||
|
git clone git@github.com:${1}.git ${2}
|
||||||
|
}
|
||||||
|
|
||||||
# End Functions #############################################################
|
# End Functions #############################################################
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue