aboutsummaryrefslogtreecommitdiffhomepage
path: root/init
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-25 04:08:50 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-25 04:08:50 +1000
commitf2c4becde72bd61e46255ec2af62c5bc71ba9b7d (patch)
tree216a7132254db9389e69041771146fb532b4f7c2 /init
parente0d6b5c4383404ba5850e4467d3f4bc39594f80f (diff)
Add better test for whether the gettext command should be used
darcs-hash:20060124180850-ac50b-63529a14009c08f8985254565426b996bb16ef92.gz
Diffstat (limited to 'init')
-rw-r--r--init/fish.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/fish.in b/init/fish.in
index 389b70dc..15808f8c 100644
--- a/init/fish.in
+++ b/init/fish.in
@@ -77,7 +77,7 @@ end
# used by other init files.
#
-if which gettext >/dev/null ^/dev/null
+if test 1 = "@HAVE_GETTEXT@"; and which gettext >/dev/null ^/dev/null
function _ -d "Alias for the gettext command"
gettext fish $argv
end