Write the kitty-not-installed error message from kit to stderr, NOT to a file named 2
This commit is contained in:
parent
4a45aeb042
commit
ae42c0119e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if (( $+commands[kitty] == 0 )); then
|
||||||
if [[ -x $MAC_KITTY/kitty ]]; then
|
if [[ -x $MAC_KITTY/kitty ]]; then
|
||||||
path=($MAC_KITTY $path)
|
path=($MAC_KITTY $path)
|
||||||
else
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue