mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-21 23:13:09 +01:00
After git clone, cd into downloaded dir
This commit is contained in:
parent
0f9fdaad2f
commit
46a4cb1fbb
@ -124,6 +124,9 @@ function clone {
|
||||
|
||||
# Clone repo
|
||||
git clone $REPO_URL $target;
|
||||
|
||||
# cd into newly cloned directory
|
||||
cd "$(basename "$_" .git)"
|
||||
}
|
||||
|
||||
# Sync fork against upstream repo
|
||||
|
Loading…
Reference in New Issue
Block a user