aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc
diff options
context:
space:
mode:
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