diff options
author | axel <axel@liljencrantz.se> | 2006-03-10 23:51:29 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-03-10 23:51:29 +1000 |
commit | 102b99a17b712c5101fb01c878e4968d6a3866e1 (patch) | |
tree | 77af13d016d9bb628f6f86290bd4cb7122c5a270 /etc | |
parent | 6222d00ffc757e4dea690fdc26bba868bf1194e5 (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.in | 6 |
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 |