From 102b99a17b712c5101fb01c878e4968d6a3866e1 Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 10 Mar 2006 23:51:29 +1000 Subject: Add further checks to unicode_start to see that the command exists darcs-hash:20060310135129-ac50b-8345a137b73e91084ad82cba06413580e3ca87e7.gz --- etc/fish.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/fish.in b/etc/fish.in index f4bb6516..c2245e96 100644 --- a/etc/fish.in +++ b/etc/fish.in @@ -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 -- cgit v1.2.3