Update bin/,cd

This commit is contained in:
Kasper Juul Hermansen 2024-03-09 10:37:29 +01:00
parent 62fabf958c
commit 4b49364485
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -1,11 +1,3 @@
#!/bin/bash
#!/usr/bin/env zsh
( nohup fuzzy-clone cache update >/dev/null 2>&1 & )
choice=$(fuzzy-clone)
if [[ $? -ne 0 ]]; then
return $?
fi
cd "$(echo "$choice" | tail --lines 1)"
fz