From 402e7ba205ff9817b3488c979ef6743282813eb0 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 6 Oct 2024 01:09:01 +0200 Subject: checkpoint --- config/essentials/shell/functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'config/essentials') diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 1a2e9d8..0f12206 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -356,6 +356,7 @@ prj() { prje() { prj || return 1 f="$(git ls-files | fzf)" + [ "$f" ] || exit 1 if [ -f "$f" ] then "$EDITOR" "$f" -- cgit v1.2.3