aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-10 23:51:29 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-10 23:51:29 +1000
commit102b99a17b712c5101fb01c878e4968d6a3866e1 (patch)
tree77af13d016d9bb628f6f86290bd4cb7122c5a270 /etc
parent6222d00ffc757e4dea690fdc26bba868bf1194e5 (diff)
Add further checks to unicode_start to see that the command exists
darcs-hash:20060310135129-ac50b-8345a137b73e91084ad82cba06413580e3ca87e7.gz
Diffstat (limited to 'etc')
-rw-r--r--etc/fish.in6
1 files changed, 4 insertions, 2 deletions
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