chezmoi/bin/executable_,ccd

14 lines
231 B
Plaintext
Raw Normal View History

2023-08-26 12:20:13 +02:00
#!/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
2023-08-28 18:05:23 +02:00
target=$(echo "$choice" | tail --lines 1)
echo "$target"
cd "$target"