mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-03 15:39:41 +00:00
fish: rename repo path variables
This commit is contained in:
parent
acfc46aeb5
commit
d49561657e
7 changed files with 19 additions and 22 deletions
|
|
@ -7,7 +7,7 @@ function clone_to_repos
|
|||
set name_repo (echo $argv | sed -E 's/.*[:\\/]([^\\/]+)\\/([^\\/]+?)(:?\\.git)$/\1 \2/')
|
||||
set name (echo $name_repo | cut -d ' ' -f1)
|
||||
set repo (echo $name_repo | cut -d ' ' -f2)
|
||||
mkdir -p $REPOS_PATH/$name
|
||||
git clone $argv $REPOS_PATH/$name/$repo
|
||||
mkdir -p $REPO_PATH/$name
|
||||
git clone $argv $REPO_PATH/$name/$repo
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue