Add better test for whether the gettext command should be used

darcs-hash:20060124180850-ac50b-63529a14009c08f8985254565426b996bb16ef92.gz
This commit is contained in:
axel 2006-01-25 04:08:50 +10:00
parent e0d6b5c438
commit f2c4becde7

View file

@ -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