chezmoi/bin/executable_,cd

12 lines
207 B
Plaintext
Raw Normal View History

#!/bin/bash
2024-03-08 14:35:40 +01:00
( nohup toolkit github fuzzy-clone update >/dev/null 2>&1 & )
choice=$(toolkit github fuzzy-clone --print-dest)
if [[ $? -ne 0 ]]; then
return $?
fi
cd "$(echo "$choice" | tail --lines 1)"