diff --git a/bin/executable_,ccd b/bin/executable_,ccd new file mode 100644 index 0000000..68e7c2e --- /dev/null +++ b/bin/executable_,ccd @@ -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)"