Add bin/,ccd
This commit is contained in:
10
bin/executable_,ccd
Normal file
10
bin/executable_,ccd
Normal 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)"
|
Reference in New Issue
Block a user