Add bin/,ccd

This commit is contained in:
2023-08-26 12:20:13 +02:00
parent b0fcb13270
commit 2d6a86be3c

10
bin/executable_,ccd Normal file
View File

@@ -0,0 +1,10 @@
#!/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)"