chezmoi/bin/executable_,cd
2024-03-08 14:34:31 +01:00

13 lines
221 B
Bash

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