Write the kitty-not-installed error message from kit to stderr, NOT to a file named 2

This commit is contained in:
Danielle McLean 2018-10-11 15:39:52 +11:00
parent 4a45aeb042
commit ae42c0119e
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -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