Add further checks to unicode_start to see that the command exists

darcs-hash:20060310135129-ac50b-8345a137b73e91084ad82cba06413580e3ca87e7.gz
This commit is contained in:
axel 2006-03-10 23:51:29 +10:00
parent 6222d00ffc
commit 102b99a17b

View file

@ -58,9 +58,11 @@ end
# situation as well?
#
if expr "$LANG" : ".*[Uu][Tt][Ff]" >/dev/null
if expr "$LANG" : ".*\.[Uu][Tt][Ff].*" >/dev/null
if test linux = "$TERM"
unicode_start ^/dev/null
if which unicode_start >/dev/null
unicode_start
end
end
end