mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: fish: simply copy the fish functions to the destination
This commit is contained in:
parent
3d1064bd31
commit
6169d1e7ff
16 changed files with 34 additions and 29 deletions
|
|
@ -1,3 +1,4 @@
|
|||
function clone_to_repos
|
||||
if count $argv > /dev/null
|
||||
set name_repo (echo $argv | sed -E 's/.*[:\/]([[:alnum:]._-]+)\/([[:alnum:]._-]+).git$/\1 \2/')
|
||||
set name (echo $name_repo | cut -d ' ' -f1)
|
||||
|
|
@ -7,3 +8,4 @@ if count $argv > /dev/null
|
|||
else
|
||||
echo "Please provide a git url"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue