11 lines
200 B
Plaintext
11 lines
200 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
nohup toolkit gitea fuzzy-clone update >/dev/null 2>&1 &
|
||
|
|
||
|
choice=$(toolkit gitea fuzzy-clone --print-dest)
|
||
|
if [[ $? -ne 0 ]]; then
|
||
|
return $?
|
||
|
fi
|
||
|
|
||
|
cd "$(echo "$choice" | tail --lines 1)"
|