From ae42c0119e013521e82384c736212e743a759d41 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 11 Oct 2018 15:39:52 +1100 Subject: [PATCH] Write the kitty-not-installed error message from kit to stderr, NOT to a file named 2 --- local/bin/kit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/bin/kit b/local/bin/kit index d417a81..3127897 100755 --- a/local/bin/kit +++ b/local/bin/kit @@ -6,7 +6,7 @@ if (( $+commands[kitty] == 0 )); then if [[ -x $MAC_KITTY/kitty ]]; then path=($MAC_KITTY $path) else - print "Sorry, kitty must be installed to use this script! https://sw.kovidgoyal.net/kitty" >2 + print "Sorry, kitty must be installed to use this script! https://sw.kovidgoyal.net/kitty" >&2 exit 1 fi fi