From dd9533e6253a1498bd104c751c46f39047228bb5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 21 Apr 2015 13:21:24 +0100 Subject: [PATCH] Small tweak in c-family-alternative-file error handling --- rc/c-family.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/c-family.kak b/rc/c-family.kak index 5d85e57b..a9c16dbd 100644 --- a/rc/c-family.kak +++ b/rc/c-family.kak @@ -141,13 +141,13 @@ def c-family-alternative-file -docstring "Jump to the alternate file (header/imp done ;; *) - echo "'extension not recognized'" + echo "echo -color Error 'extension not recognized'" exit ;; esac if [ -f ${altname} ]; then - echo edit "'${altname}'" + echo "edit '${altname}'" else - echo echo "'alternative file not found'" + echo "echo -color Error 'alternative file not found'" fi }}