From 26cd4e8496fa4c9e2fa932be6cc3cd0b824338fe Mon Sep 17 00:00:00 2001 From: Holger Just Date: Tue, 8 Apr 2025 14:45:28 +0200 Subject: [PATCH] Edit only if project was found in ce helper --- .bashrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 6abd520..a95a27e 100644 --- a/.bashrc +++ b/.bashrc @@ -250,8 +250,7 @@ c() { with_project "$1" cd; } e() { with_project "${1:-.}" "${BACKGROUND_EDITOR} --"; } ce() { - c "$1" - ${BACKGROUND_EDITOR} . + c "$1" && ${BACKGROUND_EDITOR} . } mc() {